adds new test to trigger
This commit is contained in:
parent
4de11255c8
commit
a337785542
@ -746,3 +746,28 @@ 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",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "test 2",
|
||||||
|
path1: "/path/to/dir",
|
||||||
|
path2: "/path/to/dir",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, test := range tests {
|
||||||
|
assert.Equal(t, test.path1, test.path2)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user