enable passing behavior test

This commit is contained in:
Andrew Kelley 2022-05-17 15:21:33 -07:00
parent 0fafc8cc44
commit 691fba38d8

View File

@ -326,8 +326,7 @@ test "array coersion to undefined at runtime" {
@setRuntimeSafety(true);
// TODO implement @setRuntimeSafety in stage2
if (builtin.zig_backend != .stage1 and builtin.mode != .Debug and builtin.mode != .ReleaseSafe) {
if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) {
return error.SkipZigTest;
}