Skip to content

Commit

Permalink
hanges to test names
Browse files Browse the repository at this point in the history
  • Loading branch information
Aneesh-M-Bhat authored and savitaashture committed Aug 2, 2024
1 parent fa56f30 commit 845e92a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file removed .bin/golangci-lint
Binary file not shown.
8 changes: 4 additions & 4 deletions internal/cmd/externals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,24 @@ func TestScenarios(t *testing.T) {
testDir := "../../testdata/resources/externals"
tests := []TestConfig{
{
Name: "Pulling a single repo with no conflicts",
Name: "Pulling a single repo with no name conflicts",
ExpectError: false,
ExternalsFile: path.Join(testDir, "externals1.yaml"),
},
{
Name: "Pulling from multiple repos with conflicts",
Name: "Pulling from multiple repos with name conflicts",
ExternalsFile: path.Join(testDir, "externals2.yaml"),
ExpectError: true,
ExpectedErrorSubstring: "different sources",
},
{
Name: "Pulling a single repo with conflicts",
Name: "Pulling a single repo with name conflicts",
ExternalsFile: path.Join(testDir, "externals3.yaml"),
ExpectError: true,
ExpectedErrorSubstring: "same source",
},
{
Name: "Pulling from multiple repos with no conflicts",
Name: "Pulling from multiple repos with no name conflicts",
ExternalsFile: path.Join(testDir, "externals4.yaml"),
ExpectError: false,
},
Expand Down

0 comments on commit 845e92a

Please sign in to comment.