From badf4f5b99d21807864bcefa73dd805a9aec8ff8 Mon Sep 17 00:00:00 2001 From: Nathan Gabrielson Date: Wed, 7 May 2025 16:08:10 -0700 Subject: [PATCH] Removed git checkout from test --- integration-tests/bats/global-args.bats | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integration-tests/bats/global-args.bats b/integration-tests/bats/global-args.bats index a9d79b8fc2..2b85a4f5be 100755 --- a/integration-tests/bats/global-args.bats +++ b/integration-tests/bats/global-args.bats @@ -138,10 +138,9 @@ SQL @test "global-args: can use --branch on valid branch" { cd db1 - dolt checkout -b br1 - run dolt --branch br1 status + run dolt --branch b1 status [ "$status" -eq 0 ] - [[ "$output" =~ "On branch br1" ]] || false + [[ "$output" =~ "On branch b1" ]] || false [[ "$output" =~ "nothing to commit, working tree clean" ]] || false }