test/test_cli.rb in milkode-1.3.0 vs test/test_cli.rb in milkode-1.4.0

- old
+ new

@@ -21,9 +21,17 @@ def teardown $stdout = @orig_stdout @work.teardown 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 + end + def test_grep command("grep") command("grep not_found") command("grep require -a") end