Skip to content

General syntax test improvements from JavaScript #6

@happy5214

Description

@happy5214

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions