Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Cases added to token.rs #212

Closed
wants to merge 4 commits into from
Closed

Test Cases added to token.rs #212

wants to merge 4 commits into from

Conversation

chamber909
Copy link

added 3 more test cases for : is_start_tag(), is_any_start_tag(), is_text_token()

added 3 more test cases for : is_start_tag(), is_any_start_tag(), is_text_token()
@chamber909 chamber909 changed the title Update token.rs Test Cases added to token.rs Oct 31, 2023
@jaytaph
Copy link
Member

jaytaph commented Oct 31, 2023

@ankush1233 Thanks for the PR.. Could you check the formatting of the code? This can be done easily by running make fix on the commandline. Also, not all the tests pass, because of a type in assert

assret --> assert
@jaytaph
Copy link
Member

jaytaph commented Oct 31, 2023

@ankush1233 The assert type is fixed. If you could do a "make fix" so the formatting is correct, we can merge this pr

Comment on lines 244 to 246
}
#[test]
fn test_is_any_start_tag() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a newline between each test and the one that follows?

Suggested change
}
#[test]
fn test_is_any_start_tag() {
}
#[test]
fn test_is_any_start_tag() {

Copy link
Author

@chamber909 chamber909 Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohk i did it

@chamber909 chamber909 closed this by deleting the head repository Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants