summaryrefslogtreecommitdiffstats
path: root/test-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-files.sh')
-rwxr-xr-xtest-files.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-files.sh b/test-files.sh
index 270ee3b..4c5e9c4 100755
--- a/test-files.sh
+++ b/test-files.sh
@@ -248,6 +248,12 @@ test_is_dirty() {
touch foo
assertTrue "untracked files" is_dirty
+ mkdir sneakSubDir
+ cd sneakSubDir
+ assertTrue "untracked files while in an empty sub dir" is_dirty
+
+ cd ../
+
git add .
assertTrue "staged addition files" is_dirty