From 939e4b57a85c56a598fcdf342e2b5d5c9085e552 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 9 Oct 2019 00:03:18 -0700 Subject: go fmt --- weed/query/json/query_json_test.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'weed/query/json/query_json_test.go') diff --git a/weed/query/json/query_json_test.go b/weed/query/json/query_json_test.go index 621d4f548..1794bb333 100644 --- a/weed/query/json/query_json_test.go +++ b/weed/query/json/query_json_test.go @@ -55,9 +55,9 @@ func TestGjson(t *testing.T) { ` - projections := []string{"quiz","fruit"} + projections := []string{"quiz", "fruit"} - gjson.ForEachLine(data, func(line gjson.Result) bool{ + gjson.ForEachLine(data, func(line gjson.Result) bool { println(line.Raw) println("+++++++++++") results := gjson.GetMany(line.Raw, projections...) @@ -68,8 +68,6 @@ func TestGjson(t *testing.T) { return true }) - - } func TestJsonQueryRow(t *testing.T) { @@ -133,4 +131,3 @@ func TestJsonQueryNumber(t *testing.T) { println(string(buf)) } - -- cgit v1.2.3