You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expfmt: add test cases for TextParser startOfLine error handling
The test cases cover the various scenarios that can occur when the
TextParser `startOfLine` method encounters an error. The first subtest
ensures that the method handles the `io.EOF` error correctly when the
input `io.Reader` is empty.
The second subtest uses a custom implementation of `io.Reader` to test
that `startOfLine` handles errors other than `io.EOF` correctly.
See #444
Signed-off-by: Julien Pivotto <[email protected]>
0 commit comments