From a10bde89df950347910f523b77a54e4f24780d48 Mon Sep 17 00:00:00 2001 From: lovestaco Date: Thu, 20 Jul 2023 11:08:57 +0530 Subject: [PATCH] removing .. --- tests/env_command_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/env_command_test.go b/tests/env_command_test.go index 35afbf41..6888b617 100644 --- a/tests/env_command_test.go +++ b/tests/env_command_test.go @@ -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