From 7460ecfe694895d83c3681b7a7f149006a7bafaa Mon Sep 17 00:00:00 2001 From: Bas <3441183+BattleBas@users.noreply.github.com> Date: Thu, 1 Jul 2021 06:00:44 -0500 Subject: [PATCH] Fix test --- gjson_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gjson_test.go b/gjson_test.go index 9a8fdf1..95ca1f0 100644 --- a/gjson_test.go +++ b/gjson_test.go @@ -1291,10 +1291,10 @@ func TestArrayValues(t *testing.T) { } expect := strings.Join([]string{ `gjson.Result{Type:3, Raw:"\"PERSON1\"", Str:"PERSON1", Num:0, ` + - `Index:0}`, + `Index:0, HashtagIndexes:[]int(nil)}`, `gjson.Result{Type:3, Raw:"\"PERSON2\"", Str:"PERSON2", Num:0, ` + - `Index:0}`, - `gjson.Result{Type:2, Raw:"0", Str:"", Num:0, Index:0}`, + `Index:0, HashtagIndexes:[]int(nil)}`, + `gjson.Result{Type:2, Raw:"0", Str:"", Num:0, Index:0, HashtagIndexes:[]int(nil)}`, }, "\n") if output != expect { t.Fatalf("expected '%v', got '%v'", expect, output)