From 0d2108a83f54c6a6d40c4f601cbdb3975e27f582 Mon Sep 17 00:00:00 2001 From: Amrit Singh Date: Wed, 29 Jan 2025 15:03:11 +0530 Subject: [PATCH] using testify for tests and unexporting someTool --- tools/tool_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/tool_test.go b/tools/tool_test.go index 7d300434c..b5f5e5791 100644 --- a/tools/tool_test.go +++ b/tools/tool_test.go @@ -32,6 +32,7 @@ func TestToolWithTestify(t *testing.T) { // Test when the tool exists t.Run("Tool Exists in Kit", func(t *testing.T) { + t.Parallel() result, err := kit.UseTool(context.Background(), "An awesome tool", "test") assert.NoError(t, err) assert.Equal(t, "test", result) @@ -39,6 +40,7 @@ func TestToolWithTestify(t *testing.T) { // Test when the tool does not exist t.Run("Tool Does Not Exist in Kit", func(t *testing.T) { + t.Parallel() _, err := kit.UseTool(context.Background(), "A tool that does not exist", "test") assert.Error(t, err) assert.Equal(t, ErrInvalidTool, err.Error())