Skip to content

Commit 288948a

Browse files
committed
tests: update migration tests
1 parent 036e53e commit 288948a

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

pkg/commands/internal/migrate/testdata/json/empty.golden.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"exclusions": {
44
"generated": "lax",
55
"paths": [
6+
"third_party$",
7+
"builtin$",
68
"examples$"
79
]
810
}

pkg/commands/internal/migrate/testdata/toml/empty.golden.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ paths = [
1919
[formatters.exclusions]
2020
generated = 'lax'
2121
paths = [
22+
'third_party$',
23+
'builtin$',
2224
'examples$'
2325
]

pkg/commands/internal/migrate/testdata/yaml/empty.golden.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ formatters:
1515
exclusions:
1616
generated: lax
1717
paths:
18+
- third_party$
19+
- builtin$
1820
- examples$

pkg/commands/internal/migrate/testdata/yaml/issues_07_a.golden.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ linters:
88
formatters:
99
exclusions:
1010
paths:
11+
- third_party$
12+
- builtin$
1113
- examples$

pkg/commands/internal/migrate/testdata/yaml/issues_07_b.golden.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ formatters:
1111
- goimports
1212
exclusions:
1313
paths:
14+
- third_party$
15+
- builtin$
1416
- examples$

pkg/commands/internal/migrate/testdata/yaml/unknown-fields.golden.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ formatters:
1515
exclusions:
1616
generated: lax
1717
paths:
18+
- third_party$
19+
- builtin$
1820
- examples$

0 commit comments

Comments
 (0)