1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-04 07:36:05 +02:00
ziglings/patches/patches/102_testing.patch
2023-05-15 00:06:15 +02:00

9 lines
233 B
Diff

86c86
< try testing.expect(sub(10, 5) == 6);
---
> try testing.expect(sub(10, 5) == 5);
111c111
< try testing.expectError(error.???, divide(15, 0));
---
> try testing.expectError(error.DivisionByZero, divide(15, 0));