adds new test

This commit is contained in:
HiteshRepo 2024-01-28 13:03:49 +05:30
parent c5e4d99d70
commit 10aa0a93e5

View File

@ -741,3 +741,23 @@ func (suite *PathUnitSuite) Test_Stuff() {
assert.Equal(t, test.path1, test.path2) 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)
}
}