summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_parse.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py
index f5a0828..c1e1abb 100644
--- a/tests/test_parse.py
+++ b/tests/test_parse.py
@@ -45,6 +45,9 @@ class TestParse(object):
vs = ViewState(raw=b"\xff\x01\n\x8d\x01")
assert vs.decode() == "Color: Red"
+ vs = ViewState(raw=b"\xff\x01\n\xff")
+ assert vs.decode() == "Color: Unknown"
+
def test_rgba(self):
vs = ViewState(raw=b"\xff\x01\x09\x10\x20\x30\x40")
assert vs.decode() == "RGBA(16,32,48,64)"