Skip to content

Assertion failures cause internal error under set -u conditions #126

Description

@dzuelke

To reproduce:

set -u
describe "foobar"
  it "maybe succeeds"
    assert equal true false
  end
end

This leads to an internal failure:

foobar
  maybe succeeds
/usr/local/bin/shpec: line 137: _shpec_assertion_printed: unbound variable

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions