Skip to content

Commit

Permalink
Synchronize example code with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBlom authored and BethanyG committed Apr 12, 2023
1 parent 478b3b3 commit 17d4f7b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -12,8 +12,8 @@ To raise a `ValueError` with a message, write the message as an argument to the
# span of numbers is longer than number series
raise ValueError("span must be smaller than string length")

# span of number is zero or negative
raise ValueError("span must be greater than zero")
# span of number is negative
raise ValueError("span must not be negative")

# series includes non-number input
raise ValueError("digits input must only contain digits")
Expand Down

0 comments on commit 17d4f7b

Please sign in to comment.