summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-null-bytes.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2015-11-09 18:10:49 -0500
committerRoman Reiss <me@silverwind.io>2015-11-10 07:12:33 +0100
commit2c33819370e50cd1c1eae43d2fd88bdc5aca1905 (patch)
treec9e5134071d3d8c945e55c2d0f144a1948f45843 /test/parallel/test-fs-null-bytes.js
parent7b89a3de69b22face8a7077c0b695eba6d9fb353 (diff)
downloadandroid-node-v8-2c33819370e50cd1c1eae43d2fd88bdc5aca1905.tar.gz
android-node-v8-2c33819370e50cd1c1eae43d2fd88bdc5aca1905.tar.bz2
android-node-v8-2c33819370e50cd1c1eae43d2fd88bdc5aca1905.zip
test: fix tests that check error messages
20285ad17755187ece16b8a5effeaa87f5407da2 changed the format of error messages throughout lib. However, the tests were not updated to reflect these changes. This commit makes those changes. PR-URL: https://github.com/nodejs/node/pull/3727 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-fs-null-bytes.js')
-rw-r--r--test/parallel/test-fs-null-bytes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-null-bytes.js b/test/parallel/test-fs-null-bytes.js
index c80588486d..1a6eb4ed71 100644
--- a/test/parallel/test-fs-null-bytes.js
+++ b/test/parallel/test-fs-null-bytes.js
@@ -4,7 +4,7 @@ var assert = require('assert');
var fs = require('fs');
function check(async, sync) {
- var expected = /Path must be a string without null bytes./;
+ var expected = /Path must be a string without null bytes/;
var argsSync = Array.prototype.slice.call(arguments, 2);
var argsAsync = argsSync.concat(function(er) {
assert(er && er.message.match(expected));