Skip to content

Platform-specific tests in example projects #47

@kriegaex

Description

@kriegaex

Currently something like this is found in 6 different places in the code base:

val expected = "Printing sample:\nhello\n"

Those tests will all fail on Windows due to the different line separators. Please replace all occurrences by something like:

val LF = System.lineSeparator()
val expected = "Printing sample:" + LF + "hello" + LF

See also: https://stackoverflow.com/a/67427841/1082681

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