We don't want to print anything, hence `printSkipMessage()` is just
a no-op to make the tests without changes pass.
};
}
+exports.printSkipMessage = function(msg) {}
+
// Useful for testing expected internal/error objects
exports.expectsError = function expectsError(fn, settings, exact) {
if (typeof fn !== 'function') {
assert.strictEqual(c[i], i);
}
}
-/*
+
if (common.hasCrypto) { // eslint-disable-line crypto-check
// Test truncation after decode
var crypto = require('crypto');
} else {
common.printSkipMessage('missing crypto');
}
-
+/*
var ps = Buffer.poolSize;
Buffer.poolSize = 0;
assert(Buffer.allocUnsafe(1).parent instanceof ArrayBuffer);