mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Stop dumbindent dropping blank lines near braces
This commit is contained in:
1 parent
58c0862c50
commit
b82396a3c6
5 files changed
+27
-26
No files matched your search
@@ -46,7 +46,7 @@ func TestFormatBytes(tt *testing.T) {
|
||||
}, {
|
||||
// Consecutive blank lines.
|
||||
src: "f {\n\n\ng;\n\n\nh;\n\n\n}\n\n",
|
||||
want: "f {\n g;\n\n\n h;\n}\n",
|
||||
want: "f {\n\n\n g;\n\n\n h;\n\n\n}\n",
|
||||
}, {
|
||||
// Single-quote string.
|
||||
src: "a = '{'\nb = {\nc = 0\n",
|
||||
|
||||
Reference in new issue
Block a user