Skip to content

Commit

Permalink
Fix test compile error (argoproj#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmt authored and Alexander Matyushentsev committed Jan 18, 2019
1 parent a5fbdda commit bdeecc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reposerver/repository/repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestGenerateNullList(t *testing.T) {
assert.Equal(t, len(res1.Manifests), 1)
assert.Contains(t, res1.Manifests[0], "prometheus-operator-operator")

res1, err := generateManifests("./testdata/weird-list", &q)
res2, err := generateManifests("./testdata/weird-list", &q)
assert.Nil(t, err)
assert.Equal(t, 2, len(res1.Manifests))
assert.Equal(t, 2, len(res2.Manifests))
}

0 comments on commit bdeecc2

Please sign in to comment.