diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-05-08 17:29:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-08 17:29:44 -0400 |
| commit | 67154d233ef68d9fd63e673e63e7d66f149060a5 (patch) | |
| tree | 341521e1c7cd9d3ea77726e27661b08d46b9a8dd /lib/std/math/complex/asin.zig | |
| parent | fed1c9c3ece7b79ce7fccc6af510f1dab98401a9 (diff) | |
| parent | 7437c47d55da4c73aba26327d1a140aaf6591d4a (diff) | |
| download | zig-67154d233ef68d9fd63e673e63e7d66f149060a5.tar.gz zig-67154d233ef68d9fd63e673e63e7d66f149060a5.zip | |
Merge pull request #8686 from Vexu/try
Allow tests to fail
Diffstat (limited to 'lib/std/math/complex/asin.zig')
| -rw-r--r-- | lib/std/math/complex/asin.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/math/complex/asin.zig b/lib/std/math/complex/asin.zig index 0ed352b3b7..7ce200fae2 100644 --- a/lib/std/math/complex/asin.zig +++ b/lib/std/math/complex/asin.zig @@ -28,6 +28,6 @@ test "complex.casin" { const a = Complex(f32).new(5, 3); const c = asin(a); - testing.expect(math.approxEqAbs(f32, c.re, 1.023822, epsilon)); - testing.expect(math.approxEqAbs(f32, c.im, 2.452914, epsilon)); + try testing.expect(math.approxEqAbs(f32, c.re, 1.023822, epsilon)); + try testing.expect(math.approxEqAbs(f32, c.im, 2.452914, epsilon)); } |
