From c31e8701d70416b3d95d66740ae2f6a6043a6922 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Fri, 21 Aug 2020 15:00:23 -0600 Subject: [PATCH] Update compile-errors test for @Type(.Enum) changes --- test/compile_errors.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/compile_errors.zig b/test/compile_errors.zig index 633df50368..f6a1fa5105 100644 --- a/test/compile_errors.zig +++ b/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", });