From de62e3e4068acc13b3e00841dd1462264c789752 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 21 Aug 2022 13:00:58 -0700 Subject: [PATCH] Make Debug test compatible with preserve_order --- tests/debug.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/debug.rs b/tests/debug.rs index ba4093897..e24cbabe9 100644 --- a/tests/debug.rs +++ b/tests/debug.rs @@ -54,13 +54,13 @@ fn error() { #[test] fn indented() { let j = json!({ - "Null": null, + "Array": [true], "Bool": true, + "EmptyArray": [], + "EmptyObject": {}, + "Null": null, "Number": 1, "String": "...", - "Array": [true], - "EmptyArray": [], - "EmptyObject": {} }); let expected = indoc! {r#" Object({