Skip to content

Commit

Permalink
Add proper assert in test
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Kumar Singh <shivamhere247@gmail.com>
  • Loading branch information
shivam-51 committed Jun 12, 2023
1 parent 7e30bb8 commit f6c967d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/standalone/stop_with_run_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ func assertTemplateListOutput(t *testing.T, name string) {

assert.Len(t, result, 2, "expected two apps to be running")
assert.Equal(t, name, result[0]["runTemplateName"], "expected run template name to be %s", name)
assert.Equal(t, name, result[0]["appLogPath"], "expected run template name to be %s", name)
assert.Equal(t, name, result[0]["daprdLogPath"], "expected run template name to be %s", name)
assert.NotEmpty(t, result[0]["appLogPath"], "expected appLogPath to be non-empty")
assert.NotEmpty(t, result[0]["daprdLogPath"], "expected daprdLogPath to be non-empty")
}

0 comments on commit f6c967d

Please sign in to comment.