Skip to content

Commit

Permalink
Fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ines committed Nov 17, 2018
1 parent 30ce299 commit 1c32d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_printer_custom():
icons = {"warn": "\u26a0\ufe0f", "question": "?"}
p = Printer(no_print=True, colors=colors, icons=icons)
text = "This is a test."
purple_questipn = p.text(text, color="purple", icon="question")
purple_question = p.text(text, color="purple", icon="question")
assert purple_question == "\x1b[38;5;99m? This is a test.\x1b[0m"
assert p.warn(text) == "\x1b[38;5;3m\u26a0\ufe0f This is a test.\x1b[0m"

Expand Down

0 comments on commit 1c32d8e

Please sign in to comment.