Skip to content

Commit

Permalink
fix testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
mraron committed Apr 9, 2024
1 parent fbda861 commit beb3739
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/problems/evaluation/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestBasicRunner_Run(t *testing.T) {
s sandbox.Sandbox
err error
)
if *testutils.UseIsolate {
if !*testutils.UseIsolate {
s, err = sandbox.NewDummy()
} else {
s, err = sandbox.NewIsolate(444)
Expand Down Expand Up @@ -197,7 +197,7 @@ func TestBasicRunnerMultipleRuns(t *testing.T) {
s sandbox.Sandbox
err error
)
if *testutils.UseIsolate {
if !*testutils.UseIsolate {
s, err = sandbox.NewDummy()
} else {
s, err = sandbox.NewIsolate(444)
Expand Down Expand Up @@ -307,7 +307,7 @@ func TestInteractiveRunner_Run(t *testing.T) {
s1, s2 sandbox.Sandbox
err error
)
if *testutils.UseIsolate {
if !*testutils.UseIsolate {
s1, err = sandbox.NewDummy()
assert.Nil(t, err)
s2, err = sandbox.NewDummy()
Expand Down

0 comments on commit beb3739

Please sign in to comment.