Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup: revert error message check
  • Loading branch information
Trott committed Oct 10, 2015
commit 21e054b63c52d0bd85fcedeb3db2fc6af48ed1a1
2 changes: 1 addition & 1 deletion test/parallel/test-stringbytes-external-at-max.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const kStringMaxLength = process.binding('buffer').kStringMaxLength;
try {
new Buffer(kStringMaxLength * 3);
} catch(e) {
assert.equal(e.message, 'Invalid typed array length');
assert.equal(e.message, 'Invalid array buffer length');
console.log(
'1..0 # Skipped: intensive toString tests due to memory confinements');
return;
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stringbytes-external-exceed-max-by-1.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const kStringMaxLength = process.binding('buffer').kStringMaxLength;
try {
new Buffer(kStringMaxLength * 3);
} catch(e) {
assert.equal(e.message, 'Invalid typed array length');
assert.equal(e.message, 'Invalid array buffer length');
console.log(
'1..0 # Skipped: intensive toString tests due to memory confinements');
return;
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stringbytes-external-exceed-max-by-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const kStringMaxLength = process.binding('buffer').kStringMaxLength;
try {
new Buffer(kStringMaxLength * 3);
} catch(e) {
assert.equal(e.message, 'Invalid typed array length');
assert.equal(e.message, 'Invalid array buffer length');
console.log(
'1..0 # Skipped: intensive toString tests due to memory confinements');
return;
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stringbytes-external-exceed-max.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const kStringMaxLength = process.binding('buffer').kStringMaxLength;
try {
new Buffer(kStringMaxLength * 3);
} catch(e) {
assert.equal(e.message, 'Invalid typed array length');
assert.equal(e.message, 'Invalid array buffer length');
console.log(
'1..0 # Skipped: intensive toString tests due to memory confinements');
return;
Expand Down