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
1 changed files with 2 additions and 2 deletions

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