Skip to content

Commit ed2d210

Browse files
committed
Change / to \\/ in test_parse_string()
miloyip#2
1 parent 0166f0d commit ed2d210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorial03/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static void test_parse_string() {
109109
TEST_STRING("Hello", "\"Hello\"");
110110
#if 0
111111
TEST_STRING("Hello\nWorld", "\"Hello\\nWorld\"");
112-
TEST_STRING("\"\\/\b\f\n\r\t", "\"\\\"\\\\/\\b\\f\\n\\r\\t\"");
112+
TEST_STRING("\" \\ / \b \f \n \r \t", "\"\\\" \\\\ \\/ \\b \\f \\n \\r \\t\"");
113113
#endif
114114
}
115115

0 commit comments

Comments
 (0)