Skip to content

Commit

Permalink
fix(cmd): temporarily remove test for duplicates since it causes conf…
Browse files Browse the repository at this point in the history
…licts downstream (#5098)

Methods of testing that use the zip file erroneously include the
duplicate testdata in the group of data that gets tested. This causes it
to output an error.
  • Loading branch information
jsternberg authored Aug 15, 2022
1 parent e39096d commit 0e6a1dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
6 changes: 0 additions & 6 deletions cmd/flux/test_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,6 @@ func Test_TestCmd_Skip_Duplicate(t *testing.T) {
}
}

func Test_TestCmd_Error_Duplicate(t *testing.T) {
wantErr := errors.New("duplicate testcase name \"duplicate\", found in package \"test\", at locations testdataduplicate/test_test.flux|7:10-7:19 and testdataduplicate/test_test.flux|14:10-14:19")
runForPath(t, "./testdataduplicate", wantErr, "--test", "duplicate")

}

func Test_TestCmd_SkipUntagged(t *testing.T) {
want := Summary{
Found: 9,
Expand Down
19 changes: 0 additions & 19 deletions cmd/flux/testdataduplicate/test_test.flux

This file was deleted.

0 comments on commit 0e6a1dd

Please sign in to comment.