We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41dfc2b commit 764b80cCopy full SHA for 764b80c
crates/snapbox/src/filter/pattern.rs
@@ -302,6 +302,10 @@ fn normalize_array_to_unordered_redactions(
302
actual: &[serde_json::Value],
303
expected: &[serde_json::Value],
304
) -> Vec<serde_json::Value> {
305
+ if actual == expected {
306
+ return actual.to_owned();
307
+ }
308
+
309
let mut normalized: Vec<serde_json::Value> = Vec::new();
310
let mut actual_values = actual.to_owned();
311
let mut expected_values = expected.to_owned();
0 commit comments