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

Commits on May 27, 2024

  1. fix failure evaluation

    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 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    4ddf8da View commit details
    Browse the repository at this point in the history