From a9e2fc1104b3add7de5febbd851656c4df16af27 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Tue, 21 Jun 2022 15:57:51 -0700 Subject: [PATCH] Better diff where clause tests --- integration-tests/bats/diff.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration-tests/bats/diff.bats b/integration-tests/bats/diff.bats index ad6363c4ec..33ca64ffea 100644 --- a/integration-tests/bats/diff.bats +++ b/integration-tests/bats/diff.bats @@ -442,6 +442,11 @@ SQL [ "$status" -eq 0 ] ! [[ "$output" =~ "44" ]] || false ! [[ "$output" =~ "55" ]] || false + + run dolt diff test1 test2 --where "pk=4" + [ "$status" -eq 1 ] + [[ "$output" =~ "Error running diff query" ]] || false + [[ "$output" =~ "where pk=4" ]] || false } @test "diff: with where clause errors" {