1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-23 09:56:04 +02:00

fixed failing test for ex. 024

This commit is contained in:
Dave Gauer 2021-03-16 11:00:52 -04:00
parent 720a8aaac4
commit be8429f1e6

View File

@ -1,10 +1,10 @@
62c62,68
< return detectProblems(n) ???
< return detectProblems(n) ???
---
> return detectProblems(n) catch |err| {
> if (err == MyNumberError.TooSmall) {
> return 10;
> }
>
>
> return err;
> };