Skip to content

Request builder creates platform dependent results #39

@datakurre

Description

@datakurre

FYI, I couldn't get the snapshot tests to work on my mac. It looks like the output of this line may be slightly platform dependent?

I get almost the same results, but with some extra whitespace, as well as extra commas in data structures (e.g. {'k1': 'v1', 'k2': 'v2', } vs {'k1': 'v1', 'k2': 'v2'} in your snapshots).

To be clear, the resulting commands are equivalent, but the string representations are different, causing a bunch of failures.

Conversely, I had to manually edit the snapshot file instead of generating it automatically.

Originally posted by @ludaavics in #38 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions