Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix failure evaluation #8

Merged
merged 1 commit into from
May 27, 2024
Merged

fix failure evaluation #8

merged 1 commit into from
May 27, 2024

Conversation

jaypipes
Copy link
Member

There were two problems with gdt-kube's evaluation. First, I was improperly passing a *interface{} instead of a interface{} to the newAssertions() constructor. This mean the type-casting within methods like assertions.lenOK() was failing.

Secondly, I was not calling t.Error() appropriately when there were failures collected from the assertions.

There were two problems with gdt-kube's evaluation. First, I was
improperly passing a `*interface{}` instead of a `interface{}` to the
`newAssertions()` constructor. This mean the type-casting within
methods like `assertions.lenOK()` was failing.

Secondly, I was not calling `t.Error()` appropriately when there were
failures collected from the assertions.

Signed-off-by: Jay Pipes <jaypipes@gmail.com>
@jaypipes jaypipes merged commit c58e237 into gdt-dev:main May 27, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant