Skip to content

Commit 5ce125f

Browse files
committed
tests with whitespace
1 parent 3c53f1f commit 5ce125f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/unit/test_gbq.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,14 @@ def test__bqschema_to_nullsafe_dtypes(type_, expected):
8787
["query_or_table", "expected"],
8888
[
8989
("SELECT 1", True),
90+
("SELECT\n1", True),
91+
("SELECT\t1", True),
9092
("dataset.table", False),
93+
(" dataset.table ", False),
94+
("\r\ndataset.table\r\n", False),
9195
("project-id.dataset.table", False),
96+
(" project-id.dataset.table ", False),
97+
("\r\nproject-id.dataset.table\r\n", False),
9298
],
9399
)
94100
def test__is_query(query_or_table, expected):

0 commit comments

Comments
 (0)