Files
ladybird/Tests/AK/TestJSON.cpp
Timothy Flynn 1e841cd453 Tests: Add a test for moving an object out of a JSON value
I recently questioned whether this would work as expected:

    JsonValue value { JsonObject {} };
    auto object = move(value.as_object());

So this just adds a unit test to ensure that it does.
2025-02-24 12:05:29 -05:00

20 KiB