From 8a30427287c48108eac60f340615288331003805 Mon Sep 17 00:00:00 2001 From: Paulo Truta Date: Sat, 12 Jun 2021 14:33:34 +0000 Subject: [PATCH] Added missing t.Fail() statements in utils_test.go --- internal/utils/utils_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/utils/utils_test.go b/internal/utils/utils_test.go index 098396b..eef26e2 100644 --- a/internal/utils/utils_test.go +++ b/internal/utils/utils_test.go @@ -75,6 +75,7 @@ func TestDeleteEmptySlices(t *testing.T) { if (len(resultSlice)) != 2 { t.Log("Expected 2 slices but got ", len(resultSlice)) + t.Fail() } } @@ -85,6 +86,7 @@ func TestGetPath(t *testing.T) { result := GetPath(invalidPathKey) if result != "" { t.Log("Expected empty result but got ", result) + t.Fail() } validPathKey := "wsPath"