Skip to content

Commit 8b5684d

Browse files
committed
Update the tests.
Created using spr 1.3.6
1 parent fc352fb commit 8b5684d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/unittests/Support/SpecialCaseListTest.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ TEST_F(SpecialCaseListTest, Version3) {
315315
"src:def\n"
316316
"[sect2]\n"
317317
"src:def\n"
318-
"src:def\n");
318+
"src:de*\n");
319319
EXPECT_TRUE(SCL->inSection("sect1", "src", "fooz"));
320320
EXPECT_TRUE(SCL->inSection("sect1", "src", "barz"));
321321
EXPECT_FALSE(SCL->inSection("sect2", "src", "fooz"));
@@ -326,6 +326,7 @@ TEST_F(SpecialCaseListTest, Version3) {
326326
EXPECT_EQ(2u, SCL->inSectionBlame("sect1", "src", "fooz"));
327327
EXPECT_EQ(4u, SCL->inSectionBlame("sect1", "src", "barz"));
328328
EXPECT_EQ(5u, SCL->inSectionBlame("sect1", "src", "def"));
329-
EXPECT_EQ(8u, SCL->inSectionBlame("sect2", "src", "de*"));
329+
EXPECT_EQ(8u, SCL->inSectionBlame("sect2", "src", "def"));
330+
EXPECT_EQ(8u, SCL->inSectionBlame("sect2", "src", "dez"));
330331
}
331332
}

0 commit comments

Comments
 (0)