Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
khvzak committed Nov 9, 2024
1 parent b34b90e commit 92a8203
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
Expand Down

0 comments on commit 92a8203

Please sign in to comment.