Skip to content

Commit 24a7499

Browse files
authored
Merge pull request #11679 from kubamracek/fix-long-running-tests
Fix LongRefcounting.cpp to update test expectations after the error message capitalization
2 parents f23a499 + 354a13a commit 24a7499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: unittests/runtime/LongTests/LongRefcounting.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ TEST(LongRefcountingTest, unowned_retain_overflow_DeathTest) {
279279
EXPECT_EQ(0u, deinited);
280280
EXPECT_ALLOCATED(object);
281281
ASSERT_DEATH(swift_unownedRetain(object),
282-
"object's unowned reference was retained too many times");
282+
"Object's unowned reference was retained too many times");
283283
}
284284

285285
TEST(LongRefcountingTest, nonatomic_unowned_retain_max) {
@@ -326,7 +326,7 @@ TEST(LongRefcountingTest, nonatomic_unowned_retain_overflow_DeathTest) {
326326
EXPECT_EQ(0u, deinited);
327327
EXPECT_ALLOCATED(object);
328328
ASSERT_DEATH(swift_nonatomic_unownedRetain(object),
329-
"object's unowned reference was retained too many times");
329+
"Object's unowned reference was retained too many times");
330330
}
331331

332332

0 commit comments

Comments
 (0)