mirror of https://github.com/databricks/cli.git
Use the same test names on Win as on other OSes (#2149)
## Changes Use name format "TestAccept/bundle/variables/host" (previously slashes were reversed on Windows). ## Tests Manually run "go test ./acceptance -v -run TestAccept/bundle/variables/host" in Windows VM.
This commit is contained in:
parent
82e35530b0
commit
6a7eefa54b
|
@ -87,7 +87,8 @@ func TestAccept(t *testing.T) {
|
|||
require.NotEmpty(t, testDirs)
|
||||
|
||||
for _, dir := range testDirs {
|
||||
t.Run(dir, func(t *testing.T) {
|
||||
testName := strings.ReplaceAll(dir, "\\", "/")
|
||||
t.Run(testName, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
runTest(t, dir, coverDir, repls)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue