aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/full-warning-messages.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/full-warning-messages.js')
-rw-r--r--deps/npm/test/tap/full-warning-messages.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/test/tap/full-warning-messages.js b/deps/npm/test/tap/full-warning-messages.js
index 3c74c61d0c..6745ee3db2 100644
--- a/deps/npm/test/tap/full-warning-messages.js
+++ b/deps/npm/test/tap/full-warning-messages.js
@@ -94,8 +94,8 @@ test('tree-style', function (t) {
t.notMatch(stdout, /modB/, 'modB not installed')
var stderrlines = stderr.trim().split(/\n/)
t.is(stderrlines.length, 2, 'two lines of warnings')
- t.match(stderr, /Skipping failed optional dependency/, 'expected optional failure warning')
- t.match(stderr, /Not compatible with your operating system or architecture/, 'reason for optional failure')
+ t.match(stderr, /SKIPPING OPTIONAL DEPENDENCY/, 'expected optional failure warning')
+ t.match(stderr, /Unsupported platform/, 'reason for optional failure')
exists(t, modJoin(base, 'modA'), 'module A')
notExists(t, modJoin(base, 'modB'), 'module B')
t.done()