Skip to content

test: fs.createReadStream weirdness on Windows CI #1737

@silverwind

Description

@silverwind

test/parallel/test-fs-non-number-arguments-throw.js reads itself and after introducing a 'use strict'; and changing the start and end offsets in fs.createReadStream accordingly, the read string starts one character earlier, presumably because of the added newline character.

See #1721 (comment) and following for more detail. I was unable to reproduce the issue on Windows 7,8.1 and Server 2012 so I'm almost certain it's related to the CI itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to the tests.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions