mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
AK+Everywhere: Store JSON strings as String
This commit is contained in:
parent
e591636419
commit
bc54c0cdfb
Notes:
github-actions[bot]
2025-02-21 00:29:21 +00:00
Author: https://github.com/trflynn89
Commit: bc54c0cdfb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3631
Reviewed-by: https://github.com/awesomekling ✅
33 changed files with 163 additions and 152 deletions
|
@ -317,8 +317,8 @@ void write_per_file(HashMap<size_t, TestResult> const& result_map, Vector<ByteSt
|
|||
result_object.set(paths[test], name_for_result(value));
|
||||
|
||||
JsonObject complete_results {};
|
||||
complete_results.set("duration", time_taken_in_ms / 1000.);
|
||||
complete_results.set("results", result_object);
|
||||
complete_results.set("duration"sv, time_taken_in_ms / 1000.);
|
||||
complete_results.set("results"sv, result_object);
|
||||
|
||||
if (file->write_until_depleted(complete_results.to_byte_string()).is_error())
|
||||
warnln("Failed to write per-file");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue