Skip to content

Commit

Permalink
fixup! Remove Windows Support
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Brown <[email protected]>
  • Loading branch information
jabrown85 committed Dec 18, 2024
1 parent 60bf07f commit e38a4b5
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions launch/launcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,15 +553,13 @@ func testLauncher(t *testing.T, when spec.G, it spec.S) {
process.Args = []string{}
})

when("linux", func() {
it("is script", func() {
h.AssertNil(t, launcher.LaunchProcess("/path/to/launcher", process))
h.AssertEq(t, shell.nCalls, 1)
it("is script", func() {
h.AssertNil(t, launcher.LaunchProcess("/path/to/launcher", process))
h.AssertEq(t, shell.nCalls, 1)

if !shell.process.Script {
t.Fatalf("expected script process")
}
})
if !shell.process.Script {
t.Fatalf("expected script process")
}
})
})
})
Expand All @@ -583,15 +581,13 @@ func testLauncher(t *testing.T, when spec.G, it spec.S) {
process.Args = []string{}
})

when("linux", func() {
it("is script", func() {
h.AssertNil(t, launcher.LaunchProcess("/path/to/launcher", process))
h.AssertEq(t, shell.nCalls, 1)
it("is script", func() {
h.AssertNil(t, launcher.LaunchProcess("/path/to/launcher", process))
h.AssertEq(t, shell.nCalls, 1)

if !shell.process.Script {
t.Fatalf("expected script process")
}
})
if !shell.process.Script {
t.Fatalf("expected script process")
}
})
})
})
Expand Down

0 comments on commit e38a4b5

Please sign in to comment.