Skip to content

Incorrect "no condition signaled" #182

Open
@cgay

Description

@cgay

This assertion was passing:

  assert-signals(<invalid-string-literal>,
                 read-fragment("\"\t\""),
                 "Tab not allowed in string literal");

and I changed it to this because I wanted to see it fail:

  assert-signals(<integer-too-large>,
                 read-fragment("\"\t\""),
                 "Tab not allowed in string literal");

and then I got this as a result:

      Test string-literal-test:
        FAILED: Tab not allowed in string literal
          no condition signaled

I should've seen something like "<invalid-string-literal> was signaled instead of the expected <integer-too-large>."

Metadata

Metadata

Assignees

No one assigned

    Labels

    assertionsbugA problem with existing functionality or documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions