Skip to content

test: fix intl tests on small-icu builds

Rodrigo Muino Tomonari requested to merge github/fork/aduh95/fix-test-intl into master

I was getting this locally:

=== release test-intl ===                                                     
Path: parallel/test-intl
node:assert:123
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

'en' !== 'en-US'

    at Object.<anonymous> (…/test/parallel/test-intl.js:111:12)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: 'en',
  expected: 'en-US',
  operator: 'strictEqual'
}

Node.js v18.0.0-pre
Command: out/Release/node …/test/parallel/test-intl.js

Merge request reports

Loading