[Stage2/Testing] Print name of failed test

This commit is contained in:
Noam Preil 2020-05-24 09:30:52 -04:00
parent c92816fbef
commit 67414be86b
No known key found for this signature in database
GPG Key ID: FC347E7C85BE8238

View File

@ -363,6 +363,7 @@ pub const TestContext = struct {
break :f false;
};
if (!failed) {
std.debug.warn("Test '{}' compilation succeded, error expected.\n", .{case.name});
return error.DidNotFail;
}
module_node.end();