Add test for /* multi line */ comment, refs #1860

This commit is contained in:
Simon Willison 2022-10-27 11:50:54 -07:00
commit d2ca13b699

View file

@ -174,6 +174,7 @@ def test_validate_sql_select_bad(bad_sql):
" /* comment */\nselect 1",
" /* comment */select 1",
"/* comment */\n -- another\n /* one more */ select 1",
"/* This comment \n has multiple lines */\nselect 1",
],
)
def test_validate_sql_select_good(good_sql):