summaryrefslogtreecommitdiff
path: root/test.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test.bats')
-rwxr-xr-xtest.bats3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.bats b/test.bats
index cd95eec..f4d04b4 100755
--- a/test.bats
+++ b/test.bats
@@ -100,11 +100,14 @@ _EOF
cd "${TMP}/${CHILD}"
+ echo important > untracked_file
+
run main
echo "${output}" | grep "Updated"
[ "$(cat a)" = "3" ]
+ [ "$(cat untracked_file)" = "important" ]
[ "${status}" -eq 0 ]
}