From 7532713f32a6c855552fe3e8033106d17bd8e685 Mon Sep 17 00:00:00 2001 From: jennifersp Date: Fri, 5 Nov 2021 15:57:32 -0700 Subject: [PATCH] fix bats test --- integration-tests/bats/remotes.bats | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/integration-tests/bats/remotes.bats b/integration-tests/bats/remotes.bats index 1dc161f1d9..0f2318e5c4 100644 --- a/integration-tests/bats/remotes.bats +++ b/integration-tests/bats/remotes.bats @@ -506,10 +506,11 @@ SQL run dolt fetch [ "$status" -eq 0 ] [ "${#lines[@]}" -eq 4 ] - [[ "${lines[0]}" != "\n" ]] || false - [[ "${lines[1]}" != "\n" ]] || false - [[ "${lines[2]}" != "\n" ]] || false - [[ "${lines[3]}" != "\n" ]] || false + [ "${lines[0]}" != "" ] + [ "${lines[1]}" != "" ] + [ "${lines[2]}" != "" ] + [ "${lines[3]}" != "" ] + } @test "remotes: fetch output with up-to-date branches" { @@ -557,7 +558,7 @@ SQL cd test-repo run dolt fetch [ "$status" -eq 0 ] - [ "${#lines[@]}" -eq 0 ] + [ "$output" = "" ] } @test "remotes: dolt fetch with docs" {