nimpretty: fix #11700, no extra newlines (#11714)

This commit is contained in:
Miran 2019-07-12 09:14:21 +02:00 • committed by Andreas Rumpf
commit 2f0a50fa51
3 changed files with 64 additions and 15 deletions

View file

@ -749,3 +749,23 @@ proc `==` *(a, b: Color): bool
proc `==` *(a, b: Color): bool {.borrow.}
## Compares two colors.
##
var rows1 = await pool.rows(sql"""
SELECT STUFF
WHERE fffffffffffffffffffffffffffffff
""",
@[
"AAAA",
"BBBB"
]
)
var rows2 = await pool.rows(sql"""
SELECT STUFF
WHERE fffffffffffffffffffffffffffffffgggggggggggggggggggggggggghhhhhhhhhhhhhhhheeeeeeiiiijklm""",
@[
"AAAA",
"BBBB"
]
)