aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math/complex/asin.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-08 17:29:44 -0400
committerGitHub <noreply@github.com>2021-05-08 17:29:44 -0400
commit67154d233ef68d9fd63e673e63e7d66f149060a5 (patch)
tree341521e1c7cd9d3ea77726e27661b08d46b9a8dd /lib/std/math/complex/asin.zig
parentfed1c9c3ece7b79ce7fccc6af510f1dab98401a9 (diff)
parent7437c47d55da4c73aba26327d1a140aaf6591d4a (diff)
downloadzig-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.zig4
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));
}