Skip to content

Commit

Permalink
disable regressed float formatting test case
Browse files Browse the repository at this point in the history
See #12063
  • Loading branch information
andrewrk committed Jul 9, 2022
1 parent 4d10fbe commit 321fec1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/std/fmt.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2284,6 +2284,10 @@ test "float.hexadecimal.precision" {
}

test "float.decimal" {
if (builtin.zig_backend == .stage1 and builtin.os.tag == .windows) {
// https://github.com/ziglang/zig/issues/12063
return error.SkipZigTest;
}
try expectFmt("f64: 152314000000000000000000000000", "f64: {d}", .{@as(f64, 1.52314e+29)});
try expectFmt("f32: 0", "f32: {d}", .{@as(f32, 0.0)});
try expectFmt("f32: 0", "f32: {d:.0}", .{@as(f32, 0.0)});
Expand Down

0 comments on commit 321fec1

Please sign in to comment.