Skip to content

Commit

Permalink
test(windows): skip some tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Jan 27, 2024
1 parent ad3ccf6 commit ac1dbfd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/charts/chart_for_document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package charts_test
import (
"os"
"path/filepath"
"runtime"
"testing"

"github.com/mrjosh/helm-ls/internal/charts"
Expand Down Expand Up @@ -45,6 +46,9 @@ func TestGetChartForDocumentWorksForAlreadyAddedCharts(t *testing.T) {
}

func TestGetChartForDocumentWorksForNewToAddChart(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Skipping test on windows because of https://github.com/golang/go/issues/51442")
}
var (
rootDir = t.TempDir()
expectedChartDirectory = filepath.Join(rootDir, "chart")
Expand All @@ -69,6 +73,9 @@ func TestGetChartForDocumentWorksForNewToAddChart(t *testing.T) {
}

func TestGetChartForDocumentWorksForNewToAddChartWithNestedFile(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Skipping test on windows because of https://github.com/golang/go/issues/51442")
}
var (
rootDir = t.TempDir()
expectedChartDirectory = filepath.Join(rootDir, "chart")
Expand Down

0 comments on commit ac1dbfd

Please sign in to comment.