Skip to content

Commit a3fb15b

Browse files
committed
Fix test case for OwnedSyntax because it now by default copies the string
1 parent a3a84f8 commit a3fb15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/Basic/OwnedStringTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ TEST(OwnedStringTest, copy_constructor_original_not_copy) {
159159
// Make sure updating the original pointer doesn't affect the copy.
160160
data[0] = 'a';
161161

162-
EXPECT_EQ("atring", str);
162+
EXPECT_EQ("string", str);
163163
}
164164

165165
TEST(OwnedStringTest, copy_constructor_original_copy) {

0 commit comments

Comments
 (0)