Add the possibility to ignore the Match directive

This commit is contained in:
fferro
2024-07-17 10:23:07 +01:00
parent 1d09c0b505
commit e2d4055e4e
7 changed files with 125 additions and 57 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ func (b *errReader) Read(p []byte) (n int, err error) {
func TestIOError(t *testing.T) {
buf := &errReader{}
_, err := Decode(buf)
_, err := Decode(buf, false)
if err == nil {
t.Fatal("expected non-nil err, got nil")
}