Skip to content

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

Closed
@vsemozhetbyt

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?

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 the i18n implementation.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions