fixed failing test for ex. 024

This commit is contained in:
Dave Gauer 2021-03-16 11:00:52 -04:00
parent 6d60f7e33a
commit 54f2ace51a

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;
> };