Skip to content

Commit

Permalink
testing << operator - closes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Dec 31, 2022
1 parent 0ea506f commit c666007
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tests/test_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def sql_magic(ip):
("sqlite://", "", "", "sqlite://", None),
("SELECT * FROM TABLE", "", "SELECT * FROM TABLE\n", "", None),
("SELECT * FROM", "TABLE", "SELECT * FROM\nTABLE", "", None),
("my_var << SELECT * FROM table", "", "SELECT * FROM table\n", "", "my_var"),
("my_var << SELECT *", "FROM table", "SELECT *\nFROM table", "", "my_var"),
("[db]", "", "", "sqlite://", None),
],
Expand All @@ -26,7 +27,8 @@ def sql_magic(ip):
"connection-string",
"sql-query",
"sql-query-in-line-and-cell",
"parsed-var",
"parsed-var-single-line",
"parsed-var-multi-line",
"config",
],
)
Expand Down

0 comments on commit c666007

Please sign in to comment.