Missing key ("CMD =VALUE") is not detected by TokenClassifier #126
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Report
Environment
d4a3ebb487259.3.1Summary
While creating the unit tests for the tokenizer (#4) I discovered that the following statement is valid:
Even though no
KEYis associated with theVALUE.Expected Behavior
The TokenClassifier should throw a TokenizerException with the "Expected KEY before '='" message.
Actual Behavior
Its considered valid, even though it does not conform to our protocol specification.
Steps to Reproduce
CMD =VALUEstringStack Trace / Error Message
Possible Cause / Notes
None
Checklist
assigned to @lars.winzer
created branch
fix/126-missing-key-is-not-detected-by-tokenclassifierto address this issuementioned in merge request !150
mentioned in commit
5ded42abe6