Debian Codegraph @

internal/toml-test/tests/valid/inline-table/newline.toml

raw
1 # TOML 1.1 supports newlines in inline tables and trailing commas.
2
3 trailing-comma-1 = {
4 c = 1,
5 }
6 trailing-comma-2 = { c = 1, }
7
8 tbl-1 = {
9 hello = "world",
10 1 = 2,
11 arr = [1,
12 2,
13 3,
14 ],
15 tbl = {
16 k = 1,
17 }
18 }
19
20 tbl-2 = {
21 k = """
22 Hello
23 """
24 }
25
26 no-newline-before-brace = {
27 a = 1,
28 b = 2}
29
30 no-newline-before-brace-with-comma = {
31 a = 1,
32 b = 2,}