Fix test.
This commit is contained in:
parent
e9abc1368e
commit
38decbb90a
1 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@ func absPaths(files []string ) []string {
|
|||
|
||||
func TestListTestFiles(t *testing.T) {
|
||||
require.Equal(t,
|
||||
absPaths([]string{"sum/private_test.go", "sum/public_test.go",}),
|
||||
absPaths([]string{"sum/private_test.go", "sum/public_test.go"}),
|
||||
listTestFiles("../testdata/list"))
|
||||
}
|
||||
|
||||
|
@ -30,6 +30,6 @@ func TestProtectedFiles(t *testing.T) {
|
|||
|
||||
func TestPrivateFiles(t *testing.T) {
|
||||
require.Equal(t,
|
||||
absPaths([]string{"sum/solution.go.go", "sum/private_test.go"}),
|
||||
listProtectedFiles("../testdata/list"))
|
||||
absPaths([]string{"sum/private_test.go", "sum/solution.go"}),
|
||||
listPrivateFiles("../testdata/list"))
|
||||
}
|
Loading…
Reference in a new issue