summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2018-05-18 09:32:23 -0400
committerAndi Albrecht <albrecht.andi@gmail.com>2018-05-18 15:32:23 +0200
commit6d664219f85eb65841183e0ef49dd5eecc42c562 (patch)
tree441284be037a6b7c8bf354c85c5775dc1b8c6d42 /tests
parentc25940d394ba0ddddf0a406718394fe32efbb857 (diff)
downloadsqlparse-6d664219f85eb65841183e0ef49dd5eecc42c562.tar.gz
Correct spelling (#407)
* spelling: choice * spelling: duplicate * spelling: identifier * spelling: issue * spelling: parenthesis * spelling: split * spelling: statements
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cli.py2
-rw-r--r--tests/test_regressions.py8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py
index c96aa5f..5f1ea0e 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -32,7 +32,7 @@ def test_valid_args(filepath):
assert sqlparse.cli.main([path, '-r']) is not None
-def test_invalid_choise(filepath):
+def test_invalid_choice(filepath):
path = filepath('function.sql')
with pytest.raises(SystemExit):
sqlparse.cli.main([path, '-l', 'Spanish'])
diff --git a/tests/test_regressions.py b/tests/test_regressions.py
index 8b2b8bc..73bc504 100644
--- a/tests/test_regressions.py
+++ b/tests/test_regressions.py
@@ -250,8 +250,8 @@ def test_issue193_splitting_function():
RETURN x;
END;
SELECT * FROM a.b;"""
- splitted = sqlparse.split(sql)
- assert len(splitted) == 2
+ statements = sqlparse.split(sql)
+ assert len(statements) == 2
def test_issue194_splitting_function():
@@ -264,8 +264,8 @@ def test_issue194_splitting_function():
RETURN x;
END;
SELECT * FROM a.b;"""
- splitted = sqlparse.split(sql)
- assert len(splitted) == 2
+ statements = sqlparse.split(sql)
+ assert len(statements) == 2
def test_issue186_get_type():