From 10aa0a93e5c645cacb9cd70c56844618cf076fad Mon Sep 17 00:00:00 2001 From: HiteshRepo Date: Sun, 28 Jan 2024 13:03:49 +0530 Subject: [PATCH] adds new test --- src/pkg/path/path_test.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/pkg/path/path_test.go b/src/pkg/path/path_test.go index 0973e8e21..1c95b5dab 100644 --- a/src/pkg/path/path_test.go +++ b/src/pkg/path/path_test.go @@ -741,3 +741,23 @@ func (suite *PathUnitSuite) Test_Stuff() { assert.Equal(t, test.path1, test.path2) } } + +func (suite *PathUnitSuite) Test_Stuff2() { + t := suite.T() + + tests := []struct { + name string + path1 string + path2 string + }{ + { + name: "same linux normal path", + path1: "/path/to/dir", + path2: "/path/to/dir", + }, + } + + for _, test := range tests { + assert.Equal(t, test.path1, test.path2) + } +}