From bd889304ca73adb11ba5829f8af5a873306745a9 Mon Sep 17 00:00:00 2001 From: Paulo Truta Date: Sat, 12 Jun 2021 12:57:31 +0000 Subject: [PATCH] Fixed TestExec --- internal/utils/utils_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/utils/utils_test.go b/internal/utils/utils_test.go index bc42ade..e68a7b2 100644 --- a/internal/utils/utils_test.go +++ b/internal/utils/utils_test.go @@ -9,12 +9,12 @@ import ( func TestExec(t *testing.T) { testCommand := "echo" - testArguments := []string{"'Hello World'"} + testArguments := []string{"Hello World"} result := Exec("/", testCommand, testArguments) if result != "Hello World" { - t.Log("Expected 'Hellow World' but got ", result) + t.Log("Expected 'Hello World' but got ", result) t.Fail() } }