mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Add test for /* multi line */ comment, refs #1860
This commit is contained in:
parent
5f6be3c48b
commit
d2ca13b699
1 changed files with 1 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue