Skip to content

Commit b95f7d5

Browse files
committed
add test for more strict parsing
1 parent 02895f0 commit b95f7d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ int main() {
1919
std::cout << "rgba(0, 0, 0, 1) == " << parse("hsla(900, 15%, 90%)") << std::endl;
2020
std::cout << "rgba(226, 233, 233, 1) == " << parse("hsl(900, 15%, 90%)") << std::endl;
2121
std::cout << "rgba(226, 233, 233, 1) == " << parse("hsl(900, 0.15, 90%)") << std::endl; // NOTE: not spec compliant.
22+
std::cout << "rgba(0, 0, 0, 1) == " << parse("rgba(blah,blub,100,boing") << std::endl;
23+
2224
}

0 commit comments

Comments
 (0)