Commit bdb8c49418

Andrew Kelley <andrew@ziglang.org>
2020-08-18 17:44:34
stage1: update compile error tests
follow-up to 56c81c713f749f858089e5bcdf9e6fac588bcf86
1 parent c0517bf
Changed files (1)
test/compile_errors.zig
@@ -6665,12 +6665,6 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
         "tmp.zig:9:13: error: type '*MyType' does not support field access",
     });
 
-    cases.add("carriage return special case", "fn test() bool {\r\n" ++
-        "   true\r\n" ++
-        "}\r\n", &[_][]const u8{
-        "tmp.zig:1:17: error: invalid carriage return, only '\\n' line endings are supported",
-    });
-
     cases.add("invalid legacy unicode escape",
         \\export fn entry() void {
         \\    const a = '\U1234';