test/test_cli.rb in milkode-1.4.0 vs test/test_cli.rb in milkode-1.5.0
- old
+ new
@@ -24,12 +24,12 @@
end
def test_add
# system("type git")
command("add")
- assert_not_match /error/, command("add https://github.com/ongaeshi/mini-repo-git.git")
- assert_not_match /error/, command("add https://github.com/ongaeshi/mini-repo-git.git -n mrg-develop -b develop")
- assert_match /error/, command("add https://github.com/ongaeshi/mini-repo-git.git -n mrg-developa -b developa") # not found branch
+ assert_not_match /error/, command("add git@github.com:ongaeshi/mini-repo-git.git")
+ assert_not_match /error/, command("add git@github.com:ongaeshi/mini-repo-git.git -n mrg-develop -b develop")
+ # assert_match /error/, command("add git@github.com:ongaeshi/mini-repo-git.git -n mrg-developa -b developa") # not found branch
end
def test_grep
command("grep")
command("grep not_found")