From 5457ef4ee7e81880b4c24cdceed4c354e1c2c287 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 28 Aug 2019 07:58:15 -0700 Subject: Run rustfmt --- test-suite/tests/de-errors.rs | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'test-suite/tests/de-errors.rs') diff --git a/test-suite/tests/de-errors.rs b/test-suite/tests/de-errors.rs index 5005313..7666489 100644 --- a/test-suite/tests/de-errors.rs +++ b/test-suite/tests/de-errors.rs @@ -328,11 +328,11 @@ fn serde_derive_deserialize_errors() { fn error_handles_crlf() { bad!( "\r\n\ - [t1]\r\n\ - [t2]\r\n\ - a = 1\r\n\ - a = 2\r\n\ - ", + [t1]\r\n\ + [t2]\r\n\ + a = 1\r\n\ + a = 2\r\n\ + ", toml::Value, "duplicate key: `a` for key `t2` at line 3 column 1" ); @@ -340,13 +340,12 @@ fn error_handles_crlf() { // Should be the same as above. bad!( "\n\ - [t1]\n\ - [t2]\n\ - a = 1\n\ - a = 2\n\ - ", + [t1]\n\ + [t2]\n\ + a = 1\n\ + a = 2\n\ + ", toml::Value, "duplicate key: `a` for key `t2` at line 3 column 1" ); - } -- cgit v1.2.3