diff options
Diffstat (limited to 'packages/fcl-db/tests/testbasics.pas')
-rw-r--r-- | packages/fcl-db/tests/testbasics.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/fcl-db/tests/testbasics.pas b/packages/fcl-db/tests/testbasics.pas index 6fa029435e..69ee0ea3be 100644 --- a/packages/fcl-db/tests/testbasics.pas +++ b/packages/fcl-db/tests/testbasics.pas @@ -145,6 +145,8 @@ begin // Bracketed comment AssertEquals( 'select * from table where id=/*comment :c*/$1-$2', Params.ParseSQL('select * from table where id=/*comment :c*/:a-:b', True, True, True, psPostgreSQL)); + AssertEquals( 'select * from table where id=/*comment :c**/$1-$2', + Params.ParseSQL('select * from table where id=/*comment :c**/:a-:b', True, True, True, psPostgreSQL)); // Consecutive comments, with quote in second comment AssertEquals( '--c1'#10'--c'''#10'select '':a'' from table where id=$1', Params.ParseSQL('--c1'#10'--c'''#10'select '':a'' from table where id=:id', True, True, True, psPostgreSQL)); |