From 9fe25d817bfb6c23fbb43dc12360d7135575ed97 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sun, 27 Feb 2022 07:51:21 +0100 Subject: [PATCH] Update wording in tests --- tests/git-auto-commit.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/git-auto-commit.bats b/tests/git-auto-commit.bats index 98018a9..da25586 100644 --- a/tests/git-auto-commit.bats +++ b/tests/git-auto-commit.bats @@ -639,7 +639,7 @@ git_auto_commit() { assert_line --partial "origin/not-existend-remote-branch" } -@test "it creates new local branch and pushed branch to remote even if the remote branch already exists" { +@test "it creates new local branch and pushes branch to remote even if the remote branch already exists" { # Create `existing-remote-branch` on remote with changes the local repository does not yet have cd $FAKE_TEMP_LOCAL_REPOSITORY; @@ -784,7 +784,7 @@ git_auto_commit() { assert_line "INPUT_BRANCH value: new-branch" assert_line --partial "::debug::Push commit to remote branch new-branch" - # Assert that branch "new-branch" was not updated on remote + # Assert that branch "new-branch" was updated on remote current_sha="$(git rev-parse --verify --short new-branch)" remote_sha="$(git rev-parse --verify --short origin/new-branch)"