Skip to content

Output on windows doesn't match correctly #10

@shonfeder

Description

@shonfeder

We are seeing a bit of strange behavior in our CI tests only on windows runners.

Given this minimal example:

<!-- !test program
bash -c ">&2 echo foo"
-->

<!-- !test in blah -->
    junk

<!-- !test err blah -->
    foo

The test succeeds on MacOS and Linux (and on my local machine, running Ubuntu) but it fails on windows with

not ok 1 blah: error mismatch
  ---
  expected stderr: |
    foo

  actual stderr: |
    foo

  program: |
    bash -c ">&2 echo foo"
  stdout: ''
  input location: |
    line 21
  error location: |
    line 24
  program location: |
    lines 16-18

Comparison with stdout works as expected.

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