[Pkg-javascript-commits] [node-ansi-escapes] 03/03: refresh patch and update changelog
Paolo Greppi
paolog-guest at moszumanska.debian.org
Tue May 30 15:29:51 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-escapes.
commit 4452d2d30d632ceea7cd52ec1883f4a07bbc6136
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Tue May 30 17:27:03 2017 +0200
refresh patch and update changelog
---
debian/changelog | 6 ++++++
debian/patches/00-mocha.diff | 11 +++--------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e172063..bc437f3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-ansi-escapes (2.0.0-1) UNRELEASED; urgency=medium
+
+ * New upstream release
+
+ -- Paolo Greppi <paolo.greppi at libpf.com> Tue, 30 May 2017 17:18:18 +0200
+
node-ansi-escapes (1.4.0-1) unstable; urgency=low
* Initial release (Closes: #848367)
diff --git a/debian/patches/00-mocha.diff b/debian/patches/00-mocha.diff
index 66c338b..954af6f 100644
--- a/debian/patches/00-mocha.diff
+++ b/debian/patches/00-mocha.diff
@@ -1,24 +1,19 @@
-Description: Change from ava to mocha as test runner (ava is not yet
- available as a Debian package).
-Forwarded: not-needed
-Author: Paolo Greppi <paolo.greppi at libpf.com>
-
Index: node-ansi-escapes/test.js
===================================================================
--- node-ansi-escapes.orig/test.js
+++ node-ansi-escapes/test.js
@@ -1,8 +1,8 @@
-import test from 'ava';
--import m from './';
+-import m from '.';
+var assert = require('assert');
+var m = require('./');
-test(t => {
- t.true(Object.keys(m).length > 0);
- t.is(typeof m.cursorTo, 'function');
-- t.is(m.cursorTo(2, 2), '\u001b[3;3H');
+- t.is(m.cursorTo(2, 2), '\u001B[3;3H');
+test('main', function() {
+ assert(Object.keys(m).length > 0);
+ assert.equal(typeof m.cursorTo, 'function');
-+ assert.equal(m.cursorTo(2, 2), '\u001b[3;3H');
++ assert.equal(m.cursorTo(2, 2), '\u001B[3;3H');
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ansi-escapes.git
More information about the Pkg-javascript-commits
mailing list