-
-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a446b7
commit 0b5f8a5
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,7 +259,7 @@ cat_github_output() { | |
} | ||
|
||
@test "It applies commit user and author settings" { | ||
INPUT_COMMIT_USER_NAME="A Single Test" | ||
INPUT_COMMIT_USER_NAME="Custom User Name" | ||
INPUT_COMMIT_USER_EMAIL="[email protected]" | ||
INPUT_COMMIT_AUTHOR="A Single Test <[email protected]>" | ||
|
||
|
@@ -269,7 +269,7 @@ cat_github_output() { | |
|
||
assert_success | ||
|
||
assert_line "INPUT_COMMIT_USER_NAME: A Single Test" | ||
assert_line "INPUT_COMMIT_USER_NAME: Custom User Name" | ||
assert_line "INPUT_COMMIT_USER_EMAIL: [email protected]" | ||
assert_line "INPUT_COMMIT_AUTHOR: A Single Test <[email protected]>" | ||
assert_line "::debug::Push commit to remote branch ${FAKE_DEFAULT_BRANCH}" | ||
|
@@ -282,7 +282,7 @@ cat_github_output() { | |
assert_output --partial "A Single Test" | ||
|
||
run git log -1 --pretty=format:'%cn' | ||
assert_output --partial "A Single Test" | ||
assert_output --partial "Custom User Name" | ||
|
||
run git log -1 --pretty=format:'%ce' | ||
assert_output --partial "[email protected]" | ||
|