Skip to content

Compress method doesn't remove all whitespaces #90

@Person-93

Description

@Person-93

I have a QueryBuilder class that I am testing and I tried to use the compress method on the actual and expected results before comparing them, but the tests fail because the whitespaces don't match.
This is the output from PHPUnit:
The filter text does not match the expected result. Failed asserting that two strings are equal. Expected :'someField = 1' Actual :'someField=1'

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