Skip to content

Commit

Permalink
removing ..
Browse files Browse the repository at this point in the history
  • Loading branch information
lovestaco committed Jul 20, 2023
1 parent ea9b7ef commit a10bde8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/env_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ type EnvData struct {

func runL2CommandAndParseJSON(t *testing.T, cmdArgs ...string) {
// Construct the relative path to the l2.go executable
l2Path := filepath.Join("..", "..", "l2")
cmd := exec.Command("./l2", cmdArgs...) // Use "./l2" as the executable name

cmd := exec.Command(l2Path, cmdArgs...)
var stdout bytes.Buffer
cmd.Stdout = &stdout

Expand Down

0 comments on commit a10bde8

Please sign in to comment.