summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2024-11-09 13:58:06 +0000
committerAlex Orlenko <zxteam@protonmail.com>2024-11-09 13:58:06 +0000
commit92a8203e1c0ce7a4aa38cb9d68b24b3ec9565620 (patch)
tree4b19065f7a155d017e762924a8ab53e1745073ed
parentb34b90eca31a305c4a4bd900cbb9cb6bb4eb6da8 (diff)
downloadmlua-92a8203e1c0ce7a4aa38cb9d68b24b3ec9565620.zip
Fix formatting
-rw-r--r--tests/table.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/table.rs b/tests/table.rs
index d2e4936..d76f3a5 100644
--- a/tests/table.rs
+++ b/tests/table.rs
@@ -415,7 +415,10 @@ fn test_table_fmt() -> Result<()> {
);
let table2 = lua.create_table_from([("1", "first"), ("2", "second")])?;
- assert_eq!(format!("{table2:#?}"), "{\n [\"1\"] = \"first\",\n [\"2\"] = \"second\",\n}");
+ assert_eq!(
+ format!("{table2:#?}"),
+ "{\n [\"1\"] = \"first\",\n [\"2\"] = \"second\",\n}"
+ );
Ok(())
}