fix fake git diff for testing changes

This commit is contained in:
nojhan 2012-08-17 15:00:23 +02:00
parent 320adbd37b
commit b504bbc96b

View File

@ -63,11 +63,12 @@ git()
"branch" )
echo "* fake_test";;
"diff" )
echo "";;
echo "2 1 fake_file"
return 1;;
"status" )
echo "# Untracked";;
"rev-list" )
echo "111";;
echo 111;;
esac
}
@ -129,6 +130,7 @@ assert Proxy proxy
assert Error 127
# echo GIT
assert "GIT Branch" fake_test
assert "GIT Changes" "+2/-1"
assert "GIT Commits" 111
assert "GIT Untrack" untracked
assert "GIT Mark" gitmark