Commit c31e8701d7

Tadeo Kondrak <me@tadeo.ca>
2020-08-21 23:00:23
Update compile-errors test for @Type(.Enum) changes
1 parent 5a5956b
Changed files (1)
test/compile_errors.zig
@@ -614,8 +614,8 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
         \\    _ = C;
         \\}
     , &[_][]const u8{
-        "tmp.zig:4:5: error: non-exhaustive enum must specify size",
-        "error: value assigned to '_' field of non-exhaustive enum",
+        "tmp.zig:4:5: error: value assigned to '_' field of non-exhaustive enum",
+        "error: non-exhaustive enum must specify size",
         "error: non-exhaustive enum specifies every value",
         "error: '_' field of non-exhaustive enum must be last",
     });