Commit 9486d203363eeb07166175818fa361e4e5a34015

Edward Thomson 2015-05-12T13:07:59

attr test: test a file beneath ignored folder

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/attr/ignore.c b/tests/attr/ignore.c
index 5b64b7d..a55b123 100644
--- a/tests/attr/ignore.c
+++ b/tests/attr/ignore.c
@@ -160,7 +160,7 @@ void test_attr_ignore__subdirectory_gitignore(void)
 
 	assert_is_ignored(true, "file1");
 	assert_is_ignored(true, "dir/file1");
-	assert_is_ignored(true, "dir/file2");  /* in ignored dir */
+	assert_is_ignored(true, "dir/file2/actual_file");  /* in ignored dir */
 	assert_is_ignored(false, "dir/file3");
 }