From 7f4296cd789e14ff0713e05947be573a290c18b5 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sat, 21 Oct 2017 19:27:31 +0200 Subject: [PATCH] assert meta is nil on error --- app/proxyman/mux/mux_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/proxyman/mux/mux_test.go b/app/proxyman/mux/mux_test.go index f7977cf35..4276fbbfe 100644 --- a/app/proxyman/mux/mux_test.go +++ b/app/proxyman/mux/mux_test.go @@ -139,4 +139,5 @@ func TestReaderWriter(t *testing.T) { meta, err = metaReader.Read() assert.Error(err).IsNotNil() + assert.Pointer(meta).IsNil() }