Skip to content

Commit

Permalink
Adds a small explanation to highlight a point
Browse files Browse the repository at this point in the history
  • Loading branch information
anenadic authored Oct 17, 2024
1 parent eee1b92 commit 63a560c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion episodes/08-code-correctness.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,8 @@ def text_to_duration(duration):
```

You may notice that our conversion code is wrong - the minutes component should have been divided by 60 and not 6.
We were able to spot this tiny bug by testing our code.
We were able to spot this tiny bug **only by testing our code** (note that just by looking at the result graph there
is not way to spot incorrect results).

Let's fix the problematic line and rerun out tests.

Expand Down

0 comments on commit 63a560c

Please sign in to comment.