File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 44 "fmt"
55 "reflect"
66 "regexp"
7+ "runtime"
78 "testing"
89
910 hcl "github.com/hashicorp/hcl/v2"
@@ -2306,6 +2307,9 @@ func TestJSONOverridePriority(t *testing.T) {
23062307 })
23072308
23082309 t .Run ("JSON override works with lowercase vars" , func (t * testing.T ) {
2310+ if runtime .GOOS == "windows" {
2311+ t .Skip ("Windows case-insensitivity" )
2312+ }
23092313 dt := []byte (`
23102314 variable "foo" {
23112315 type = number
@@ -2316,7 +2320,7 @@ func TestJSONOverridePriority(t *testing.T) {
23162320 bar = foo
23172321 }
23182322 }` )
2319- // may seem reasonable, but not supported
2323+ // may seem reasonable, but not supported (on case-sensitive systems)
23202324 t .Setenv ("foo_json" , "9000" )
23212325 c , err := ParseFile (dt , "docker-bake.hcl" )
23222326 require .NoError (t , err )
You can’t perform that action at this time.
0 commit comments