From cfbcbf8d03249c984d59003e01e9d926a1a257d3 Mon Sep 17 00:00:00 2001 From: Neil Macneale IV Date: Wed, 28 May 2025 12:45:28 -0700 Subject: [PATCH] Make test more complete --- integration-tests/bats/remote-cmd.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration-tests/bats/remote-cmd.bats b/integration-tests/bats/remote-cmd.bats index 40b48abec5..04061b67a6 100755 --- a/integration-tests/bats/remote-cmd.bats +++ b/integration-tests/bats/remote-cmd.bats @@ -93,6 +93,8 @@ teardown() { run dolt status [ "$status" -eq 0 ] [[ "$output" =~ "Your branch is up to date with 'origin/main'" ]] || false + + grep 'origin' .dolt/repo_state.json # Remove the remote dolt remote remove origin @@ -102,4 +104,7 @@ teardown() { [ "$status" -eq 0 ] [[ ! "$output" =~ "origin" ]] || false [[ ! "$output" =~ "Your branch is up to date with 'origin/main'" ]] || false + + run grep -q 'origin' .dolt/repo_state.json + [ "$status" -eq 1 ] }