Skip to content

Commit 447d65b

Browse files
committed
fix test
1 parent 2e703c8 commit 447d65b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Setup Guard with CompetitorCheck validator
66
guard = Guard().use(
7-
CompetitorCheck, ["Apple", "Samsung"], "exception", use_local=True
7+
CompetitorCheck(["Apple", "Samsung"], on_fail="exception", use_local=True)
88
)
99

1010
# Test passing response (no competitor mentioned)

0 commit comments

Comments
 (0)