File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 88 - goimports
99 - gofmt
1010 - gofumpt
11+ - misspell
1112
1213linters-settings :
1314 goimports :
Original file line number Diff line number Diff line change @@ -120,21 +120,21 @@ func TestEnv(t *testing.T) {
120120 Target : "default" ,
121121 TrimSpace : false ,
122122 Files : map [string ]string {
123- "local.txt" : "GOOS='linux' GOARCH='amd64' CGO_ENABLED='0'\n " ,
124- "global.txt" : "FOO='foo' BAR='overriden ' BAZ='baz'\n " ,
125- "multiple_type.txt" : "FOO='1' BAR='true' BAZ='1.1'\n " ,
126- "not-overriden .txt" : "QUX='from_os'\n " ,
123+ "local.txt" : "GOOS='linux' GOARCH='amd64' CGO_ENABLED='0'\n " ,
124+ "global.txt" : "FOO='foo' BAR='overridden ' BAZ='baz'\n " ,
125+ "multiple_type.txt" : "FOO='1' BAR='true' BAZ='1.1'\n " ,
126+ "not-overridden .txt" : "QUX='from_os'\n " ,
127127 },
128128 }
129129 tt .Run (t )
130130 t .Setenv ("TASK_X_ENV_PRECEDENCE" , "1" )
131131 experiments .EnvPrecedence = experiments .New ("ENV_PRECEDENCE" )
132132 ttt := fileContentTest {
133133 Dir : "testdata/env" ,
134- Target : "overriden " ,
134+ Target : "overridden " ,
135135 TrimSpace : false ,
136136 Files : map [string ]string {
137- "overriden .txt" : "QUX='from_taskfile'\n " ,
137+ "overridden .txt" : "QUX='from_taskfile'\n " ,
138138 },
139139 }
140140 ttt .Run (t )
Original file line number Diff line number Diff line change 1515 cmds :
1616 - task : local
1717 - task : global
18- - task : not-overriden
18+ - task : not-overridden
1919 - task : multiple_type
2020
2121 local :
3131
3232 global :
3333 env :
34- BAR : overriden
34+ BAR : overridden
3535 cmds :
3636 - echo "FOO='$FOO' BAR='$BAR' BAZ='$BAZ'" > global.txt
3737
@@ -43,10 +43,10 @@ tasks:
4343 cmds :
4444 - echo "FOO='$FOO' BAR='$BAR' BAZ='$BAZ'" > multiple_type.txt
4545
46- not-overriden :
46+ not-overridden :
4747 cmds :
48- - echo "QUX='$QUX'" > not-overriden .txt
48+ - echo "QUX='$QUX'" > not-overridden .txt
4949
50- overriden :
50+ overridden :
5151 cmds :
52- - echo "QUX='$QUX'" > overriden .txt
52+ - echo "QUX='$QUX'" > overridden .txt
You can’t perform that action at this time.
0 commit comments