nimpretty: fixes #11699
This commit is contained in:
parent
5b7273b4f8
commit
7deb49e992
3 changed files with 71 additions and 7 deletions
|
|
@ -761,3 +761,28 @@ var rows2 = await pool.rows(sql"""
|
|||
"BBBB"
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
# bug #11699
|
||||
|
||||
const keywords = @[
|
||||
"foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar",
|
||||
"zzz", "ggg", "ddd",
|
||||
]
|
||||
|
||||
let keywords1 = @[
|
||||
"foo1", "bar1", "foo2", "bar2", "foo3", "bar3", "foo4", "bar4", "foo5", "bar5", "foo6", "bar6", "foo7",
|
||||
"zzz", "ggg", "ddd",
|
||||
]
|
||||
|
||||
let keywords2 = @[
|
||||
"foo1", "bar1", "foo2", "bar2", "foo3", "bar3", "foo4", "bar4", "foo5", "bar5", "foo6", "bar6", "foo7",
|
||||
"foo1", "bar1", "foo2", "bar2", "foo3", "bar3", "foo4", "bar4", "foo5", "bar5", "foo6", "bar6", "foo7",
|
||||
"zzz", "ggg", "ddd",
|
||||
]
|
||||
|
||||
if true:
|
||||
let keywords3 = @[
|
||||
"foo1", "bar1", "foo2", "bar2", "foo3", "bar3", "foo4", "bar4", "foo5", "bar5", "foo6", "bar6", "foo7",
|
||||
"zzz", "ggg", "ddd",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -769,3 +769,33 @@ var rows2 = await pool.rows(sql"""
|
|||
"BBBB"
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
# bug #11699
|
||||
|
||||
const keywords = @[
|
||||
"foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo",
|
||||
"bar", "foo", "bar",
|
||||
"zzz", "ggg", "ddd",
|
||||
]
|
||||
|
||||
let keywords1 = @[
|
||||
"foo1", "bar1", "foo2", "bar2", "foo3", "bar3", "foo4", "bar4", "foo5",
|
||||
"bar5", "foo6", "bar6", "foo7",
|
||||
"zzz", "ggg", "ddd",
|
||||
]
|
||||
|
||||
let keywords2 = @[
|
||||
"foo1", "bar1", "foo2", "bar2", "foo3", "bar3", "foo4", "bar4", "foo5",
|
||||
"bar5", "foo6", "bar6", "foo7",
|
||||
"foo1", "bar1", "foo2", "bar2", "foo3", "bar3", "foo4", "bar4", "foo5",
|
||||
"bar5", "foo6", "bar6", "foo7",
|
||||
"zzz", "ggg", "ddd",
|
||||
]
|
||||
|
||||
if true:
|
||||
let keywords3 = @[
|
||||
"foo1", "bar1", "foo2", "bar2", "foo3", "bar3", "foo4", "bar4", "foo5",
|
||||
"bar5", "foo6", "bar6", "foo7",
|
||||
"zzz", "ggg", "ddd",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue