We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65aea30 commit 56d39e6Copy full SHA for 56d39e6
bake/hcl_test.go
@@ -4,6 +4,7 @@ import (
4
"fmt"
5
"reflect"
6
"regexp"
7
+ "runtime"
8
"testing"
9
10
hcl "github.com/hashicorp/hcl/v2"
@@ -2306,6 +2307,9 @@ func TestJSONOverridePriority(t *testing.T) {
2306
2307
})
2308
2309
t.Run("JSON override works with lowercase vars", func(t *testing.T) {
2310
+ if runtime.GOOS == "windows" {
2311
+ t.Skip("Windows case-insensitivity")
2312
+ }
2313
dt := []byte(`
2314
variable "foo" {
2315
type = number
@@ -2316,7 +2320,7 @@ func TestJSONOverridePriority(t *testing.T) {
2316
2320
bar = foo
2317
2321
}
2318
2322
}`)
2319
- // may seem reasonable, but not supported
2323
+ // may seem reasonable, but not supported (on case-sensitive systems)
2324
t.Setenv("foo_json", "9000")
2325
c, err := ParseFile(dt, "docker-bake.hcl")
2326
require.NoError(t, err)
0 commit comments