Skip to content

Commit 8046b26

Browse files
committed
Try a test that won't assert on Linux
1 parent 8f1066a commit 8046b26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/checkout/tree.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ void test_checkout_tree__can_cancel_checkout_from_notify(void)
542542
/* on case-insensitive FS = a/b.txt, branch_file.txt, new.txt */
543543
/* on case-sensitive FS = README, then above */
544544

545-
if (cl_repo_get_bool(g_repo, "core.ignorecase"))
545+
if (git_path_exists("testrepo/.git/CoNfIg")) /* case insensitive */
546546
cl_assert_equal_i(3, ca.count);
547547
else
548548
cl_assert_equal_i(4, ca.count);
@@ -556,7 +556,7 @@ void test_checkout_tree__can_cancel_checkout_from_notify(void)
556556

557557
cl_assert(!git_path_exists("testrepo/new.txt"));
558558

559-
if (cl_repo_get_bool(g_repo, "core.ignorecase"))
559+
if (git_path_exists("testrepo/.git/CoNfIg")) /* case insensitive */
560560
cl_assert_equal_i(4, ca.count);
561561
else
562562
cl_assert_equal_i(1, ca.count);

0 commit comments

Comments
 (0)