From 1f5ae917f95049e21ae584db71b53820b0e6d675 Mon Sep 17 00:00:00 2001 From: Max Hoffman Date: Wed, 30 Jun 2021 12:24:54 -0700 Subject: [PATCH] Rewrite jq test --- integration-tests/bats/export-tables.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/bats/export-tables.bats b/integration-tests/bats/export-tables.bats index f22d08ba69..2bf34872a5 100644 --- a/integration-tests/bats/export-tables.bats +++ b/integration-tests/bats/export-tables.bats @@ -171,7 +171,7 @@ if rows[2] != "9,8,7,6,5,4".split(","): # output will be split over two lines grep 'id,j' export.csv - tail -n 1 export.csv | awk -F "," '{print $2}' | jq --slurp '.[1]' | grep "hi" + grep '"\[""hi""\]"' export.csv } @test "export-tables: uint schema parsing for writer_test.go backwards compatibility" {