Skip to content

Commit f3b528b

Browse files
committed
Fixed incorrect test
1 parent 8c428a2 commit f3b528b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/helpers/test_leetcode.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ async def test() -> str:
7979

8080
wrapper = decorator(func)
8181

82-
await wrapper() == "test"
82+
assert (await wrapper()) == "test"
8383

84-
func.call_count = 3
84+
assert func.call_count == 3
8585

8686

8787
class TestLeetcodeData:

0 commit comments

Comments
 (0)