Skip to content

Commit 54cc218

Browse files
committed
Remove unwanted chars from tests
1 parent 216b25a commit 54cc218

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/git-auto-commit.bats

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ setup() {
2626
export INPUT_SKIP_FETCH=false
2727
export INPUT_DISABLE_GLOBBING=false
2828

29-
# Configure Git
29+
# Configure Git
3030
if [[ -z $(git config user.name) ]]; then
3131
git config --global user.name "Test Suite"
3232
git config --global user.email "test@github.com"
@@ -43,7 +43,7 @@ teardown() {
4343
rm -rf "${FAKE_TEMP_LOCAL_REPOSITORY}"
4444
}
4545

46-
# Create a fake remote repository which tests can push against
46+
# Create a fake remote repository which tests can push against
4747
_setup_fake_remote_repository() {
4848
# Create the bare repository, which will act as our remote/origin
4949
rm -rf "${FAKE_REMOTE}";
@@ -72,7 +72,7 @@ _setup_local_repository() {
7272
cd "${FAKE_LOCAL_REPOSITORY}";
7373
}
7474

75-
# Run the main code related to this GitHub Action
75+
# Run the main code related to this GitHub Action
7676
git_auto_commit() {
7777
bash "${BATS_TEST_DIRNAME}"/../entrypoint.sh
7878
}
@@ -306,7 +306,7 @@ git_auto_commit() {
306306
}
307307

308308
@test "It can checkout a different branch" {
309-
# Create foo-branch and then immediately switch back to master
309+
# Create foo-branch and then immediately switch back to master
310310
git checkout -b foo
311311
git checkout master
312312

@@ -321,7 +321,7 @@ git_auto_commit() {
321321
assert_line "INPUT_BRANCH value: foo"
322322
assert_line "::debug::Push commit to remote branch foo"
323323

324-
# Assert a new branch "foo" exists on remote
324+
# Assert a new branch "foo" exists on remote
325325
run git ls-remote --heads
326326
assert_output --partial refs/heads/foo
327327
}
@@ -411,7 +411,7 @@ git_auto_commit() {
411411
}
412412

413413
@test "It pushes generated commit and tag to remote branch and updates commit sha" {
414-
# Create "a-new-branch"-branch and then immediately switch back to master
414+
# Create "a-new-branch"-branch and then immediately switch back to master
415415
git checkout -b a-new-branch
416416
git checkout master
417417

@@ -451,7 +451,7 @@ git_auto_commit() {
451451
mkdir "${FAKE_LOCAL_REPOSITORY}"/nested
452452
touch "${FAKE_LOCAL_REPOSITORY}"/nested/new-file-b.py
453453

454-
# Commit changes
454+
# Commit changes
455455
echo "Commit changes before running git_auto_commit";
456456
cd "${FAKE_LOCAL_REPOSITORY}";
457457
git add . > /dev/null;

0 commit comments

Comments
 (0)