[Pkg-javascript-commits] [node-ansi-regex] 03/03: fix test suite for debci

Paolo Greppi paolog-guest at moszumanska.debian.org
Tue Sep 19 09:14:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

paolog-guest pushed a commit to branch master
in repository node-ansi-regex.

commit c1e16f83718481e67eb5919e6207951de9ee1493
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Tue Sep 19 11:09:51 2017 +0200

    fix test suite for debci
---
 debian/patches/00-mocha.diff | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/00-mocha.diff b/debian/patches/00-mocha.diff
index 9e685f9..140e993 100644
--- a/debian/patches/00-mocha.diff
+++ b/debian/patches/00-mocha.diff
@@ -71,14 +71,14 @@ Index: node-ansi-regex/test.js
  });
  
  // Testing against extended codes (excluding codes ending in 0-9)
-@@ -46,19 +46,19 @@ for (const codeSet of Object.keys(ansiCo
+@@ -46,29 +46,27 @@ for (const codeSet of Object.keys(ansiCo
  		const skipText = skip ? '[SKIP] ' : '';
  		const ecode = `\u001B${code}`;
  
 -		test(`${skipText}${code} → ${codeInfo[0]}`, t => {
 +		test(`${skipText}${code} → ${codeInfo[0]}`, function() {
  			if (skip) {
- 				t.pass();
+-				t.pass();
  				return;
  			}
  
@@ -94,9 +94,9 @@ Index: node-ansi-regex/test.js
 -		test(`${skipText}${code} should not overconsume`, t => {
 +		test(`${skipText}${code} should not overconsume`, function() {
  			if (skip) {
- 				t.pass();
+-				t.pass();
  				return;
-@@ -66,9 +66,9 @@ for (const codeSet of Object.keys(ansiCo
+ 			}
  
  			for (const c of consumptionChars) {
  				const string = ecode + c;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ansi-regex.git



More information about the Pkg-javascript-commits mailing list