Skip to content

Commit 11eb326

Browse files
committed
test comments
1 parent 6bf003a commit 11eb326

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/formatting/cargo_toml.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,13 @@ mod tests {
345345
version = 1
346346
description = "a\nb\nhaha"
347347
name = 3
348+
349+
# comment 1
350+
348351
arr1 = [1,
349352
2,3]
350353
354+
# comment 2
351355
352356
arr2 = ["11111111111111111111111111111111111111111111111111111111111111111111111111111111","1111111111111111111111111111111111111111111111111111111111111111111111111111111"]
353357
@@ -365,7 +369,9 @@ mod tests {
365369
let expected = r#"[package]
366370
name = 3
367371
version = 1
372+
# comment 1
368373
arr1 = [1, 2, 3]
374+
# comment 2
369375
arr2 = [
370376
"11111111111111111111111111111111111111111111111111111111111111111111111111111111",
371377
"1111111111111111111111111111111111111111111111111111111111111111111111111111111"

0 commit comments

Comments
 (0)