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 5911260
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
@@ -1,6 +1,15 @@
import pytest
from dbt.tests.util import run_dbt

macros__equals_sql = """
{% macro equals(expr1, expr2) -%}
case when (({{ expr1 }} = {{ expr2 }}) or ({{ expr1 }} is null and {{ expr2 }} is null))
then 0
else 1
end = 0
{% endmacro %}
"""

macros__test_assert_equal_sql = """
{% test assert_equal(model, actual, expected) %}
select * from {{ model }}
Expand All @@ -17,15 +26,6 @@
{% endmacro %}
"""

macros__equals_sql = """
{% macro equals(expr1, expr2) -%}
case when (({{ expr1 }} = {{ expr2 }}) or ({{ expr1 }} is null and {{ expr2 }} is null))
then 0
else 1
end = 0
{% endmacro %}
"""


class BaseUtils:
# setup
Expand Down

0 comments on commit 5911260

Please sign in to comment.