summaryrefslogtreecommitdiff
path: root/Tests/AK/TestJSON.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/AK/TestJSON.cpp')
-rw-r--r--Tests/AK/TestJSON.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/AK/TestJSON.cpp b/Tests/AK/TestJSON.cpp
index 36f0b8cebc..c55d21ed66 100644
--- a/Tests/AK/TestJSON.cpp
+++ b/Tests/AK/TestJSON.cpp
@@ -126,7 +126,7 @@ TEST_CASE(json_u64_roundtrip)
TEST_CASE(json_parse_empty_string)
{
auto value = JsonValue::from_string("");
- EXPECT_EQ(value.value().is_null(), true);
+ EXPECT_EQ(value.is_error(), true);
}
TEST_CASE(json_parse_long_decimals)