diff options
Diffstat (limited to 'tests/test_executor.py')
-rw-r--r-- | tests/test_executor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_executor.py b/tests/test_executor.py index f45a5d4..013ff34 100644 --- a/tests/test_executor.py +++ b/tests/test_executor.py @@ -481,11 +481,11 @@ class TestExecutor(unittest.TestCase): def test_static_queries(self): for sql, cols, rows in [ - ("SELECT 1", ["_col_0"], [(1,)]), + ("SELECT 1", ["1"], [(1,)]), ("SELECT 1 + 2 AS x", ["x"], [(3,)]), ("SELECT CONCAT('a', 'b') AS x", ["x"], [("ab",)]), ("SELECT 1 AS x, 2 AS y", ["x", "y"], [(1, 2)]), - ("SELECT 'foo' LIMIT 1", ["_col_0"], [("foo",)]), + ("SELECT 'foo' LIMIT 1", ["foo"], [("foo",)]), ( "SELECT SUM(x), COUNT(x) FROM (SELECT 1 AS x WHERE FALSE)", ["_col_0", "_col_1"], |