Skip to content

Commit

Permalink
fix indentation in dbt tests alerts code examples (#1747)
Browse files Browse the repository at this point in the history
Co-authored-by: Itamar Hartstein <[email protected]>
  • Loading branch information
japerry911 and haritamar authored Nov 18, 2024
1 parent 8cb677a commit 61bee5a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions docs/_snippets/guides/alerts-code-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ models:
```yml test
tests:
- not_null:
meta:
owner: ["@jessica.jones", "@joe.joseph"]
meta:
owner: ["@jessica.jones", "@joe.joseph"]
```
```yml test/model config block
Expand Down Expand Up @@ -111,8 +111,8 @@ models:
```yml test
tests:
- not_null:
meta:
subscribers: ["@jessica.jones", "@joe.joseph"]
meta:
subscribers: ["@jessica.jones", "@joe.joseph"]
```

```yml test/model config block
Expand Down Expand Up @@ -149,8 +149,8 @@ It's recommended to add an explanation of what does it mean if this test fails,
```yml test
tests:
- not_null:
meta:
description: "This is the test description"
meta:
description: "This is the test description"
```

```yml test config block
Expand Down Expand Up @@ -190,7 +190,7 @@ models:
```yml test
tests:
- not_null:
tags: ["#marketing", "#data_ops"]
tags: ["#marketing", "#data_ops"]
```

```yml test/model config block
Expand Down Expand Up @@ -238,8 +238,8 @@ models:
```yml test
tests:
- not_null:
meta:
channel: data_ops
meta:
channel: data_ops
```

```yml test/model config block
Expand Down Expand Up @@ -288,8 +288,8 @@ models:
```yml test
tests:
- not_null:
meta:
alert_suppression_interval: 12
meta:
alert_suppression_interval: 12
```

```yml test/model config block
Expand Down Expand Up @@ -338,8 +338,8 @@ models:
```yml test
tests:
- not_null:
meta:
slack_group_alerts_by: table
meta:
slack_group_alerts_by: table
```

```yml test/model config block
Expand Down Expand Up @@ -398,8 +398,8 @@ models:
```yml test
tests:
- not_null:
meta:
alert_fields: ["description", "owners", "tags", "subscribers"]
meta:
alert_fields: ["description", "owners", "tags", "subscribers"]
```

```yml test/model config block
Expand Down

0 comments on commit 61bee5a

Please sign in to comment.