This repository has been archived by the owner on Nov 17, 2022. It is now read-only.
Test correct handling of whitespace in Ruleset tests #233
Labels
missing-feature
A major feature that should exist, but does not.
rulesets
Relating to IATI Rulesets.
tests
Relating to tests and testing.
As noted at #229 (comment):
As such, any Rule that undertakes checks on strings should have tests to ensure whitespace is included in the check (rather than being stripped, ignored, or such).
This covers the following standard Rules:
sum
(whitespace currently tested invalid_sum.xml
)date_order
- (no whitespace tests at present - attributes in the Standard Ruleset are covered by Schema checks for a correct date type (no whitespace), though other attributes or element text are not)regex_matches
- (can see no tests at present, though understand whitespace may currently be ignored due to an interpretation of perl style regular expression)regex_no_matches
- (can see no tests at present, though understand whitespace may currently be ignored due to an interpretation of perl style regular expression)startswith
- (no whitespace tests at present)unique
- (no whitespace tests at present)The text was updated successfully, but these errors were encountered: