From 831c53090753368eddbd436d7e6ad5c12ae3e937 Mon Sep 17 00:00:00 2001 From: kinbiko Date: Sun, 13 Sep 2026 19:17:05 +0900 Subject: [PATCH] test: bump coverarge to 100 percent --- integration_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration_test.go b/integration_test.go index c20ec70..2d03c61 100644 --- a/integration_test.go +++ b/integration_test.go @@ -37,6 +37,7 @@ func TestAssertf(t *testing.T) { for name, tc := range map[string]*testCase{ "types": {`"true"`, `true`, []string{`actual JSON (string) and expected JSON (boolean) were of different types at '$'`}}, "0 bytes v null": {``, `null`, []string{`'actual' JSON is not valid JSON: unable to identify JSON type of ""`}}, + "null v 0 bytes": {`null`, ``, []string{`'expected' JSON is not valid JSON: unable to identify JSON type of ""`}}, "booleans": {`false`, `true`, []string{`expected boolean at '$' to be true but was false`}}, "floats": {`12.45`, `1.245`, []string{`expected number at '$' to be '1.2450000' but was '12.4500000'`}}, "ints": {`1245`, `-1245`, []string{`expected number at '$' to be '-1245.0000000' but was '1245.0000000'`}},