Skip to content

Commit 5ccf134

Browse files
committed
fix: tests for windows
1 parent 0ffb909 commit 5ccf134

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

myexec/cmd_uixt_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package myexec
22

33
import "testing"
44

5-
func TestRunShell(t *testing.T) {
5+
func TestRunShellUnix(t *testing.T) {
66
exitCode, err := RunShell("echo hello world")
77
if err != nil {
88
t.Fatal(err)

myexec/cmd_windows_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package myexec
22

33
import "testing"
44

5-
func TestRunShell(t *testing.T) {
5+
func TestRunShellWindows(t *testing.T) {
66
exitCode, err := RunShell("echo hello world")
77
if err != nil {
88
t.Fatal(err)

0 commit comments

Comments
 (0)