diff --git a/boa_tester/src/main.rs b/boa_tester/src/main.rs index a020644f4e7..8a600a8f852 100644 --- a/boa_tester/src/main.rs +++ b/boa_tester/src/main.rs @@ -361,11 +361,10 @@ impl Add for Statistics { struct SuiteResult { #[serde(rename = "n")] name: Box, - #[serde(rename = "a")] all_stats: Statistics, - #[serde(rename = "a5")] + #[serde(rename = "a5", default)] es5_stats: Statistics, - #[serde(rename = "a6")] + #[serde(rename = "a6", default)] es6_stats: Statistics, #[serde(skip_serializing_if = "Vec::is_empty", default)] #[serde(rename = "s")] diff --git a/boa_tester/src/results.rs b/boa_tester/src/results.rs index 13875904496..8bff68136e4 100644 --- a/boa_tester/src/results.rs +++ b/boa_tester/src/results.rs @@ -27,11 +27,10 @@ struct ReducedResultInfo { commit: Box, #[serde(rename = "u")] test262_commit: Box, - #[serde(rename = "a")] all_stats: Statistics, - #[serde(rename = "a5")] + #[serde(rename = "a5", default)] es5_stats: Statistics, - #[serde(rename = "a6")] + #[serde(rename = "a6", default)] es6_stats: Statistics, }