Skip to content

Commit

Permalink
Update example for fail_calc
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeatty10 authored Apr 3, 2024
1 parent c25a791 commit 307841e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/reference/resource-configs/fail_calc.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ models:
tests:
- unique:
config:
fail_calc: "sum(n_records)"
fail_calc: "case when count(*) > 0 then sum(n_records) else 0 end"
```
</File>
Expand Down

0 comments on commit 307841e

Please sign in to comment.