Skip to content

Misleading string-ified test failure output #473

Open
@dabrahams

Description

@dabrahams

When this test fails:

      XCTAssertEqual(g.rules.count, 1)

The output is

XCTAssertEqual failed: ("3") is not equal to ("1")

The quotes around the values are both needless and misleading; they give the impression that I was testing for string equality.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions