Skip to content

test: URLTest.ToFilePath from cctest\test_url.cc fails when --without-intl flag used #19051

Description

@vsemozhetbyt
  • Version: master (10.0.0)
  • Platform: Windows 7 x64
  • Subsystem: test

From the output of .\vcbuild without-intl test:

[ RUN      ] URLTest.ToFilePath
test\cctest\test_url.cc(91): error: Value of: URL("file://xn--weird-prdj8vva.com/host/a").ToFilePath()
  Actual: "\\\\xn--weird-prdj8vva.com\\host\\a"
Expected: "\\\\wͪ͊eiͬ͋rd.com\\host\\a"
Which is: "\\\\w\xCD\xAA\xCD\x8A" "ei\xCD\xAC\xCD\x8Brd.com\\host\\a"
[  FAILED  ] URLTest.ToFilePath (0 ms)
[----------] 7 tests from URLTest (31 ms total)

[----------] Global test environment tear-down
[==========] 41 tests from 6 test cases ran. (250 ms total)
[  PASSED  ] 40 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] URLTest.ToFilePath

 1 FAILED TEST

Should it be skipped in such case?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.i18n-apiIssues and PRs related to Node.js internationalization support.testIssues and PRs related to Node.js core tests and test infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions