mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Adapt tests to rebased reference handling
This commit is contained in:
1 parent
4cd0e24586
commit
02b0db5c96
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -59,7 +59,7 @@ fn test_json_optional_memory() {
|
||||
..BenchmarkResult::default()
|
||||
};
|
||||
let output = JsonExporter::default()
|
||||
.serialize(&[result], None, SortOrder::Command)
|
||||
.serialize(&[result], None, SortOrder::Command, None)
|
||||
.unwrap();
|
||||
let actual: serde_json::Value = serde_json::from_slice(&output).unwrap();
|
||||
let mut expected = json!({
|
||||
|
||||
Reference in new issue
Block a user