Here are some of the test differences I found between the Python and JavaScript versions. This issue contains general syntax checks.
All of these tests are in test_tag_validator.py unless otherwise noted.
- Add more invalid character tests to
test_check_if_tag_has_invalid_characters() (in particular, check for curly braces), as in this JS code.
- Check spaces in blank string test in
test_string_is_space_or_empty in test_hed_string_delimiter.py, as in this JS code.
- Add more assertions to
test_is_hh_mm_time, like in this JS code.
- Check actual value in
test_replace_tag_name_with_pound, as in this JS code.
- Add more test strings to
test_get_tag_name, like in this JS code.
Here are some of the test differences I found between the Python and JavaScript versions. This issue contains general syntax checks.
All of these tests are in
test_tag_validator.pyunless otherwise noted.test_check_if_tag_has_invalid_characters()(in particular, check for curly braces), as in this JS code.test_string_is_space_or_emptyintest_hed_string_delimiter.py, as in this JS code.test_is_hh_mm_time, like in this JS code.test_replace_tag_name_with_pound, as in this JS code.test_get_tag_name, like in this JS code.