aboutsummaryrefslogtreecommitdiff
path: root/lib/parser/parser_test.go
AgeCommit message (Collapse)Author
2023-12-13lib/parser: removed, this package has been merged into lib/stringsShulhan
2021-03-14all: refactoring the test.Assert and test.AssertBench signatureShulhan
Previously, the test.Assert and test.AssertBench functions has the boolean parameter to print the stack trace of test in case its not equal. Since this parameter is not mandatory and its usually always set to "true", we remove them from function signature to simplify the call to Assert and AssertBench.
2020-11-15parser: fix Line method that always return non-empty lineShulhan
In case of content end without new line, for example "a\nb", the Line() method always return "b, 0" on the last line.
2020-10-13parser: add Stop methodShulhan
The Stop method return the remaining unparsed content and its last position, and then call Close to reset the internal state back to zero.
2020-06-10all: update email addressShulhan
2020-03-26all: fix and suppress linter warningsShulhan
2020-03-01lib/parser: a general parser libraryShulhan