Skip to content

Commit

Permalink
Fix git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Jan 27, 2025
1 parent e77f0a2 commit 121b03a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dbt-tests-adapter/dbt/tests/adapter/utils/base_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@
{% endtest %}
"""

macros__replace_empty_sql = """
{% macro replace_empty(expr) -%}
case
when {{ expr }} = 'EMPTY' then ''
else {{ expr }}
end
{% endmacro %}
"""

macros__equals_sql = """
{% macro equals(expr1, expr2) -%}
case when (({{ expr1 }} = {{ expr2 }}) or ({{ expr1 }} is null and {{ expr2 }} is null))
Expand All @@ -26,6 +17,15 @@
{% endmacro %}
"""

macros__replace_empty_sql = """
{% macro replace_empty(expr) -%}
case
when {{ expr }} = 'EMPTY' then ''
else {{ expr }}
end
{% endmacro %}
"""


class BaseUtils:
# setup
Expand Down

0 comments on commit 121b03a

Please sign in to comment.