summaryrefslogtreecommitdiff
path: root/test/api
diff options
context:
space:
mode:
Diffstat (limited to 'test/api')
-rw-r--r--test/api/set_style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/set_style.cpp b/test/api/set_style.cpp
index c3e62def20..23dff0152c 100644
--- a/test/api/set_style.cpp
+++ b/test/api/set_style.cpp
@@ -24,7 +24,7 @@ TEST(API, SetStyle) {
auto observer = Log::removeObserver();
auto flo = dynamic_cast<FixtureLogObserver*>(observer.get());
EXPECT_EQ(1ul, flo->count({ EventSeverity::Error, Event::ParseStyle, -1,
- "Error parsing style JSON at 0: Expect either an object or array at root" }));
+ "Error parsing style JSON at 0: Invalid value." }));
auto unchecked = flo->unchecked();
EXPECT_TRUE(unchecked.empty()) << unchecked;
}