From 51a7b35a9b4af8058cc9d513085b02306ae63a43 Mon Sep 17 00:00:00 2001 From: FrankLawrence Date: Wed, 12 Jun 2024 18:41:17 +0200 Subject: [PATCH] Add test --- tests/test_colour.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_colour.py b/tests/test_colour.py index bf0e597133a6..d54bdf0616a6 100644 --- a/tests/test_colour.py +++ b/tests/test_colour.py @@ -62,6 +62,8 @@ def test_from_str(value, expected): 'rgb(30, -1, 60)', 'invalid(a, b, c)', 'rgb(', + 'rgb(120%,100%,90%)', + 'rgb(320,300,300)', ], ) def test_from_str_failures(value):