Skip to content

Commit 7b0d50d

Browse files
committed
Add additional test for word_join
1 parent a5837a4 commit 7b0d50d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_words.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def test_as_text(value, expects):
139139
"'bob'; 'alice'; and 'fred'"),
140140
((["bob", "alice", "fred"], ), {"use_repr": True, "oxford": True, "connective": "or"},
141141
"'bob', 'alice', or 'fred'"),
142+
((["bob", "alice"], ), {"connective": "or"}, "bob or alice"),
142143
((("bob", ), ), {"use_repr": True, "oxford": True}, "'bob'"),
143144
((("bob", "alice"), ), {"use_repr": True, "oxford": True}, "'bob' and 'alice'"),
144145
((("bob", "alice", "fred"), ), {"use_repr": True, "oxford": True}, "'bob', 'alice', and 'fred'"),

0 commit comments

Comments
 (0)