Skip to content

Commit 76b4d16

Browse files
committed
Test
1 parent 9ed58af commit 76b4d16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test_sonar/test_fib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ def test_fib(n, expected):
99
assert fib(n) == expected
1010

1111
def test_negative():
12+
"""Test we get a good error message for negative input."""
1213
from test_sonar import fib
1314

1415
with pytest.raises(ValueError, match="n must be >=0, got -1"):

0 commit comments

Comments
 (0)