Skip to content

Commit fce12d1

Browse files
authored
Merge pull request #151 from fishtown-analytics/fix/pretty-logger-integration-test
Fix for pretty logger integration tests
2 parents 6c545d9 + b5c3685 commit fce12d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration_tests/tests/logger/assert_pretty_output_msg_is_string.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% if dbt_utils.pretty_log_format() is string %}
22
{# Return 0 rows for the test to pass #}
3-
select 1 where false
3+
select 1 limit 0
44
{% else %}
55
{# Return >0 rows for the test to fail #}
66
select 1

integration_tests/tests/logger/assert_pretty_time_is_string.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% if dbt_utils.pretty_time() is string %}
22
{# Return 0 rows for the test to pass #}
3-
select 1 where false
3+
select 1 limit 0
44
{% else %}
55
{# Return >0 rows for the test to fail #}
66
select 1

0 commit comments

Comments
 (0)