Skip to content

Commit c647953

Browse files
committed
concat test
1 parent 522c0c6 commit c647953

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{% macro sqlserver__concat(fields) -%}
2-
concat({{ fields|join(', ') }}, '')
2+
concat({{ fields|join(', ') }})
33
{%- endmacro %}

tests/functional/adapter/test_utils.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,15 @@ def models(self):
8383

8484

8585
class TestConcatSQLServer(BaseFixedMacro, BaseConcat):
86-
pass
86+
@pytest.fixture(scope="class")
87+
def seeds(self):
88+
return {
89+
"data_concat.csv": """input_1,input_2,output
90+
a,b,ab
91+
a,,a
92+
,b,b
93+
"""
94+
}
8795

8896

8997
class TestDateTruncSQLServer(BaseFixedMacro, BaseDateTrunc):

0 commit comments

Comments
 (0)