aboutsummaryrefslogtreecommitdiff
path: root/weed/query/json/query_json_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/query/json/query_json_test.go')
-rw-r--r--weed/query/json/query_json_test.go7
1 files changed, 2 insertions, 5 deletions
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))
}
-