Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
use platform-independent file list
Browse files Browse the repository at this point in the history
hopefully this fixes the windows test workflow

Signed-off-by: Jamie Klassen <[email protected]>
  • Loading branch information
Jamie Klassen committed Nov 20, 2020
1 parent 44ba78c commit bdc2e15
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkg/dash/dash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"os"
"path/filepath"
"runtime"
"strings"
"testing"
"time"

Expand Down Expand Up @@ -109,7 +110,13 @@ func TestNewRunnerLoadsValidKubeConfigFilteringNonexistent(t *testing.T) {

uri, cancel, _ := makeRunner(
Options{
KubeConfig: "/non/existent/kubeconfig:" + kubeConfig.Name(),
KubeConfig: strings.Join(
[]string{
"/non/existent/kubeconfig",
kubeConfig.Name(),
},
string(filepath.ListSeparator),
),
},
log.NopLogger(),
)
Expand Down

0 comments on commit bdc2e15

Please sign in to comment.