diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2017-02-11 14:04:58 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2017-02-11 15:24:30 +0100 |
commit | 291b599bba0f484f35a2deebb2350b178c1f1758 (patch) | |
tree | 0ffaed69c57084904d6440b40f273d58f3d4bb5a /test | |
parent | 46345b937448dbeac54f33bd3a8d38be4c1dc1ef (diff) | |
download | android-node-v8-291b599bba0f484f35a2deebb2350b178c1f1758.tar.gz android-node-v8-291b599bba0f484f35a2deebb2350b178c1f1758.tar.bz2 android-node-v8-291b599bba0f484f35a2deebb2350b178c1f1758.zip |
src: fix --icu-data-dir= regression
Commit a8734af ("src: make copies of startup environment variables")
from two weeks ago introduced a regression in the capturing of the
`--icu-data-dir=` switch: it captured the string up to the `=` instead
of what comes after it.
PR-URL: https://github.com/nodejs/node/pull/11255
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-intl-no-icu-data.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parallel/test-intl-no-icu-data.js b/test/parallel/test-intl-no-icu-data.js index dd14c14671..ce5e9a0812 100644 --- a/test/parallel/test-intl-no-icu-data.js +++ b/test/parallel/test-intl-no-icu-data.js @@ -2,6 +2,8 @@ 'use strict'; require('../common'); const assert = require('assert'); +const config = process.binding('config'); // No-op when ICU case mappings are unavailable. assert.strictEqual('ç'.toLocaleUpperCase('el'), 'ç'); +assert.strictEqual(config.icuDataDir, 'test/fixtures/empty/'); |