Skip to content

Commit

Permalink
fix: Format condition incosistent test (#8895)
Browse files Browse the repository at this point in the history
* add to approvers

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* fix issue with format condition test

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* Trigger Build

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* work with specific jinja version

Signed-off-by: pashavictorovich <pavel@codefresh.io>
  • Loading branch information
pasha-codefresh committed Mar 24, 2022
1 parent 32d33de commit 2e65b42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/argocd/commands/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func TestFormatConditionSummary(t *testing.T) {
}

summary := formatConditionsSummary(app)
if summary != "type1(2),type2" {
if summary != "type1(2),type2" && summary != "type2,type1(2)" {
t.Fatalf("Incorrect summary %q, should be type1(2),type2", summary)
}
})
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
mkdocs==1.2.3
mkdocs-material==7.1.7
markdown_include==0.6.0
pygments==2.7.4
pygments==2.7.4
jinja2===3.0.3

0 comments on commit 2e65b42

Please sign in to comment.