Skip to content

Commit

Permalink
use correct name for color in terminal tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Apr 21, 2017
1 parent 1a8722b commit f91e7c6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified tests/reference/images/ansi_colors.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/reference/images/ansi_colors_wrapped.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/test_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_ansi_colors():
assert_text(device, term, reference, [
"hello \033[31mworld\033[0m ansi colors here!",
"this is \033[7mreversed\033[7m!",
"\033[45;37mYellow\033[0m \033[43;30mMagenta"
"\033[44;37mBlue\033[0m \033[46;30mCyan"
])


Expand All @@ -112,7 +112,7 @@ def test_ansi_colors_wrapped():
assert_text(device, term, reference, [
"hello \033[31mworld\033[0m ansi colors\t\033[32mwrap\033[0m\t?",
"this is \033[7mreversed\033[7m!",
"\033[45;37mYellow\033[0m \033[43;30mMagenta"
"\033[43;30mYellow\033[0m \033[45;37mMagenta"
])


Expand Down

0 comments on commit f91e7c6

Please sign in to comment.