aboutsummaryrefslogtreecommitdiffstats
path: root/test/mediaQueryTest.cpp
diff options
context:
space:
mode:
authorstasoid <stasoid@yahoo.com>2022-10-30 16:25:56 +0600
committerstasoid <stasoid@yahoo.com>2022-10-30 16:25:56 +0600
commit8927a445152ef927944372d6a4a91f3d6079f1c0 (patch)
tree94229dd682a34285321d80e57014483869173bbb /test/mediaQueryTest.cpp
parent2a3091d505bca4374a31752654d5cd38cea5a00e (diff)
Remove litehtml::context, replace master.css -> master_css.h and make document::createFromString receive master/user css as strings
closes issue #219
Diffstat (limited to 'test/mediaQueryTest.cpp')
-rw-r--r--test/mediaQueryTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mediaQueryTest.cpp b/test/mediaQueryTest.cpp
index 973665cc..5b2f9127 100644
--- a/test/mediaQueryTest.cpp
+++ b/test/mediaQueryTest.cpp
@@ -244,7 +244,7 @@ TEST(MediaQueryTest, Check) {
TEST(MediaQueryTest, Parse) {
container_test container;
- litehtml::document::ptr doc = std::make_shared<litehtml::document>(&container, nullptr);
+ litehtml::document::ptr doc = std::make_shared<litehtml::document>(&container);
media_query::ptr q;
q = media_query::create_from_string("", doc);
q = media_query::create_from_string("not", doc);