Skip to content

Commit 54673b2

Browse files
committed
Allow CSS properties to own values
Forgot to include test update in last commit.
1 parent 4bcdd2b commit 54673b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/Css.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TEST_SUITE("CSS Stylesheet") {
1111
color property{"red"};
1212

1313
CHECK(std::string(property.label) == "color");
14-
CHECK(property.value == "red");
14+
CHECK(property.valueOwned == "red");
1515

1616
SUBCASE("Property with value can be rendered") {
1717
CHECK(render(property) == "color:red;");
@@ -22,7 +22,7 @@ TEST_SUITE("CSS Stylesheet") {
2222
webkitSomething property{"foo"};
2323

2424
CHECK(property.label == webkitSomethingName);
25-
CHECK(property.value == "foo");
25+
CHECK(property.valueOwned == "foo");
2626

2727
SUBCASE("Customer property can be rendered") {
2828
CHECK(render(property) == "-webkit-something:foo;");

0 commit comments

Comments
 (0)