mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 19:20:47 -05:00
fixed failing test for ex. 024
This commit is contained in:
parent
6d60f7e33a
commit
54f2ace51a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
> };
|
||||
|
|
Loading…
Reference in a new issue