File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
23
23
"net/http"
24
24
"os"
25
25
"path/filepath"
26
+ "runtime"
26
27
"strings"
27
28
"testing"
28
29
)
@@ -64,6 +65,9 @@ func TestNewDebrickedScannerWithError(t *testing.T) {
64
65
}
65
66
66
67
func TestScan (t * testing.T ) {
68
+ if runtime .GOOS == "windows" {
69
+ t .Skipf ("TestScan is skipped due to Windows env" )
70
+ }
67
71
var debClient client.IDebClient
68
72
clientMock := testdata .NewDebClientMock ()
69
73
addMockedFormatsResponse (clientMock )
@@ -214,6 +218,9 @@ func TestScanBadOpts(t *testing.T) {
214
218
}
215
219
216
220
func TestScanEmptyResult (t * testing.T ) {
221
+ if runtime .GOOS == "windows" {
222
+ t .Skipf ("TestScan is skipped due to Windows env" )
223
+ }
217
224
var debClient client.IDebClient
218
225
clientMock := testdata .NewDebClientMock ()
219
226
addMockedFormatsResponse (clientMock )
You can’t perform that action at this time.
0 commit comments