diff options
Diffstat (limited to 'nimpretty')
-rw-r--r-- | nimpretty/tests/exhaustive.nim | 20 | ||||
-rw-r--r-- | nimpretty/tests/expected/exhaustive.nim | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/nimpretty/tests/exhaustive.nim b/nimpretty/tests/exhaustive.nim index 057062fa0..7dde99ca5 100644 --- a/nimpretty/tests/exhaustive.nim +++ b/nimpretty/tests/exhaustive.nim @@ -741,3 +741,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" + ] +) diff --git a/nimpretty/tests/expected/exhaustive.nim b/nimpretty/tests/expected/exhaustive.nim index dc0bb7568..79f0ad05a 100644 --- a/nimpretty/tests/expected/exhaustive.nim +++ b/nimpretty/tests/expected/exhaustive.nim @@ -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" + ] +) |