-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests for 'init' and 'clone' commands
- Loading branch information
Showing
2 changed files
with
2 additions
and
8 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 |
---|---|---|
|
@@ -7,10 +7,7 @@ load fake-cd | |
setup() { | ||
fake-pass git clone | ||
fake-pass git "clone https://github.com/extsoft/elegant-git.git" | ||
fake-pass git "config --global user.name" aaa | ||
fake-pass git "config --global user.email" [email protected] | ||
fake-pass git "config --local user.name aaa" | ||
fake-pass git "config --local user.email [email protected]" | ||
fake-pass git "elegant configure --local" | ||
} | ||
|
||
@test "print message when run 'git-elegant clone'" { | ||
|
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 |
---|---|---|
|
@@ -5,10 +5,7 @@ load fake-read | |
|
||
setup() { | ||
fake-pass git init | ||
fake-pass git "config --global user.name" aaa | ||
fake-pass git "config --global user.email" [email protected] | ||
fake-pass git "config --local user.name aaa" | ||
fake-pass git "config --local user.email [email protected]" | ||
fake-pass git "elegant configure --local" | ||
} | ||
|
||
@test "exit code is 0 when run 'git-elegant init'" { | ||
|
ff028b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
9-5878affc
disappeared insrc/main/git-elegant
, that's why I closed #39.