Code

Oops. Apparently I didn't run 'make test' after most recent change.
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 9 Feb 2010 00:42:15 +0000 (19:42 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 9 Feb 2010 00:42:15 +0000 (19:42 -0500)
Thanks to Dan Sabath for pointing that out.

test.sh

diff --git a/test.sh b/test.sh
index 1446cfeed89071c9935d5fb9a8ea24ec0988d436..c6ecde20bdf4f7acfd624bc6d85efe6b0e42732f 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -161,7 +161,8 @@ check_equal "You must provide the --prefix option." "$result"
 
 # Check that the <prefix> exists for a split.
 ! result=$(git subtree split --prefix=non-existent-directory 2>&1)
-check_equal "non-existent-directory does not exist." "$result"
+check_equal "'non-existent-directory' does not exist; use 'git subtree add'" \
+  "$result"
 
 # check if --message works for split+rejoin
 spl1=$(git subtree split --annotate='*' --prefix subdir --onto FETCH_HEAD --message "Split & rejoin" --rejoin)