From 52bae222a3a8480b2b30d8dc4629b64a284410d4 Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Wed, 11 May 2016 15:34:52 -0400 Subject: test: abstract skip functionality to common The tap skipping output is so prevalent yet obscure in nature that we ought to move it into it's own function in test/common.js PR-URL: https://github.com/nodejs/node/pull/6697 Reviewed-By: Rich Trott Reviewed-By: Santiago Gimeno Reviewed-By: Fedor Indutny --- test/parallel/test-crypto-verify-failure.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/parallel/test-crypto-verify-failure.js') diff --git a/test/parallel/test-crypto-verify-failure.js b/test/parallel/test-crypto-verify-failure.js index 2bc4ce5433..f260ccfe12 100644 --- a/test/parallel/test-crypto-verify-failure.js +++ b/test/parallel/test-crypto-verify-failure.js @@ -2,7 +2,7 @@ var common = require('../common'); if (!common.hasCrypto) { - console.log('1..0 # Skipped: missing crypto'); + common.skip('missing crypto'); return; } var crypto = require('crypto'); -- cgit v1.2.3