Skip to content

Commit

Permalink
disable window tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-labry committed Oct 21, 2022
1 parent 68a1b13 commit a3a9926
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions get_hg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package getter

import (
"context"
"fmt"
"net/url"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -127,6 +127,11 @@ func TestHgGetter_HgArgumentsNotAllowed(t *testing.T) {
t.Log("hg not found, skipping")
t.Skip()
}

if runtime.GOOS == "windows" {
t.Log("skipping for Windows OS for now")
t.Skip()
}
ctx := context.Background()

tc := []struct {
Expand Down Expand Up @@ -189,7 +194,6 @@ func TestHgGetter_HgArgumentsNotAllowed(t *testing.T) {
tt := tt
t.Run(tt.name, func(t *testing.T) {
g := new(HgGetter)
fmt.Print(tt.req.u.String())

if tt.req.Dst == "" {
dst := testing_helper.TempDir(t)
Expand Down

0 comments on commit a3a9926

Please sign in to comment.