diff options
| author | Veikka Tuominen <git@vexu.eu> | 2021-05-04 20:47:26 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-05-08 15:15:30 +0300 |
| commit | fd77f2cfed81f3414c079909e079a812e23071c3 (patch) | |
| tree | f9facf463ab13791faa0820c347371067ed27a79 /lib/std/event/future.zig | |
| parent | 59f9253d94331cedd4d0518250c8094a064f6cd2 (diff) | |
| download | zig-fd77f2cfed81f3414c079909e079a812e23071c3.tar.gz zig-fd77f2cfed81f3414c079909e079a812e23071c3.zip | |
std: update usage of std.testing
Diffstat (limited to 'lib/std/event/future.zig')
| -rw-r--r-- | lib/std/event/future.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/event/future.zig b/lib/std/event/future.zig index 30a2e46ec5..a081ec0c0f 100644 --- a/lib/std/event/future.zig +++ b/lib/std/event/future.zig @@ -107,7 +107,7 @@ fn testFuture() void { const result = (await a) + (await b); - testing.expect(result == 12); + try testing.expect(result == 12); } fn waitOnFuture(future: *Future(i32)) i32 { |
