place test in proper folder
This commit is contained in:
parent
3a66358338
commit
589656d1bf
1 changed files with 0 additions and 0 deletions
6
macros/tests/not_negative_or_zero.sql
Normal file
6
macros/tests/not_negative_or_zero.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{% test not_negative_or_zero(model, column_name) %}
|
||||
with validation as (select {{ column_name }} as value from {{ model }})
|
||||
select *
|
||||
from validation
|
||||
where value <= 0
|
||||
{% endtest %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue