Skip to content

Commit

Permalink
reproducer for #26
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Dec 10, 2019
1 parent fc94e66 commit a59d1d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions parser/logfmt/logfmt_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ func TestScanKeyValue(t *testing.T) {
{key: []byte("hello"), val: []byte("bye")},
},
},
{
input: "hello=",
want: []kv{
{key: []byte("hello"), val: nil},
},
},
{
input: "hello=bye crap crap",
want: []kv{
Expand Down

0 comments on commit a59d1d5

Please sign in to comment.