mirror of
https://github.com/walles/moar.git
synced 2024-11-23 05:53:18 +03:00
Additional corner case test
This commit is contained in:
parent
05a2153c2c
commit
e8a948ae9a
@ -42,3 +42,9 @@ func TestConsumeEncodedEventWithUnsupportedEscapeCode(t *testing.T) {
|
||||
assert.Assert(t, event == nil)
|
||||
assert.Equal(t, remainder, "")
|
||||
}
|
||||
|
||||
func TestConsumeEncodedEventWithNoInput(t *testing.T) {
|
||||
event, remainder := consumeEncodedEvent("")
|
||||
assert.Assert(t, event == nil)
|
||||
assert.Equal(t, remainder, "")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user