[Pkg-javascript-commits] [node-fined] 01/04: Change from expect to expect-js as the former is not yet in Debian
Paolo Greppi
paolog-guest at moszumanska.debian.org
Tue Dec 13 17:14:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
paolog-guest pushed a commit to branch master
in repository node-fined.
commit b292511a4ad48b76f01a4e82326fa5f65ebe7326
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Tue Dec 13 16:56:10 2016 +0000
Change from expect to expect-js as the former is not yet in Debian
---
debian/patches/00-expect.diff | 720 ++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 721 insertions(+)
diff --git a/debian/patches/00-expect.diff b/debian/patches/00-expect.diff
new file mode 100644
index 0000000..dc135fd
--- /dev/null
+++ b/debian/patches/00-expect.diff
@@ -0,0 +1,720 @@
+Description: Change from expect to expect-js as the former is
+ not yet in Debian
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-fined/test/index.js
+===================================================================
+--- node-fined.orig/test/index.js
++++ node-fined/test/index.js
+@@ -2,7 +2,7 @@
+
+ var os = require('os');
+ var path = require('path');
+-var expect = require('expect');
++var expect = require('expect.js');
+
+ var cwd = process.cwd();
+ var isWindows = (os.platform() === 'win32');
+@@ -37,7 +37,7 @@ describe('Basic behaviors', function() {
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -56,7 +56,7 @@ describe('Basic behaviors', function() {
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -77,7 +77,7 @@ describe('Basic behaviors', function() {
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -90,7 +90,7 @@ describe('Basic behaviors', function() {
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -103,7 +103,7 @@ describe('Basic behaviors', function() {
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -125,7 +125,7 @@ describe('Basic behaviors', function() {
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -146,7 +146,7 @@ describe('Basic behaviors', function() {
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+ });
+@@ -171,7 +171,7 @@ describe('Argument defaulting', function
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -193,7 +193,7 @@ describe('Argument defaulting', function
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -216,7 +216,7 @@ describe('Argument defaulting', function
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -244,7 +244,7 @@ describe('Argument defaulting', function
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -272,7 +272,7 @@ describe('Argument defaulting', function
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -294,7 +294,7 @@ describe('Argument defaulting', function
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -316,7 +316,7 @@ describe('Argument defaulting', function
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -338,7 +338,7 @@ describe('Argument defaulting', function
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+ });
+@@ -365,7 +365,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -386,7 +386,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -409,7 +409,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -432,7 +432,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -452,7 +452,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -475,7 +475,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ path: new String('test/fixtures/fined'),
+@@ -495,7 +495,7 @@ describe('Properties: `path`', function(
+
+ var result2 = fined(pathObj2, defaultObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -519,7 +519,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ // ~/xxx
+ var pathObj2 = {
+@@ -540,7 +540,7 @@ describe('Properties: `path`', function(
+
+ var result2 = fined(pathObj2, defaultObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+
+ // ~xxx
+ var pathObj3 = {
+@@ -561,7 +561,7 @@ describe('Properties: `path`', function(
+
+ var result3 = fined(pathObj3, defaultObj3);
+
+- expect(result3).toEqual(expected3);
++ expect(result3).to.eql(expected3);
+ done();
+ });
+
+@@ -585,7 +585,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ // ~+/xxx
+ var pathObj2 = {
+@@ -606,7 +606,7 @@ describe('Properties: `path`', function(
+
+ var result2 = fined(pathObj2, defaultObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+
+ // ~+xxx
+ var pathObj3 = {
+@@ -627,7 +627,7 @@ describe('Properties: `path`', function(
+
+ var result3 = fined(pathObj3, defaultObj3);
+
+- expect(result3).toEqual(expected3);
++ expect(result3).to.eql(expected3);
+ done();
+ });
+
+@@ -650,7 +650,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -679,7 +679,7 @@ describe('Properties: `path`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+ });
+@@ -704,7 +704,7 @@ describe('Properties: `name`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -726,7 +726,7 @@ describe('Properties: `name`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -748,7 +748,7 @@ describe('Properties: `name`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -770,7 +770,7 @@ describe('Properties: `name`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ name: new String('package'),
+@@ -789,7 +789,7 @@ describe('Properties: `name`', function(
+
+ var result2 = fined(pathObj2, defaultObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -811,7 +811,7 @@ describe('Properties: `name`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -833,7 +833,7 @@ describe('Properties: `name`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ name: path.join(userHomeFile.dir, userHomeFile.name),
+@@ -852,7 +852,7 @@ describe('Properties: `name`', function(
+
+ var result2 = fined(pathObj2, defaultObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -871,7 +871,7 @@ describe('Properties: `name`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -890,7 +890,7 @@ describe('Properties: `name`', function(
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+ });
+@@ -915,7 +915,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -937,7 +937,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -964,7 +964,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -986,7 +986,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ extensions: ['.js', '.json'],
+@@ -1005,7 +1005,7 @@ describe('Properties: `extensions`', fun
+
+ var result2 = fined(pathObj2, defaultObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -1027,7 +1027,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1049,7 +1049,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1071,7 +1071,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1093,7 +1093,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1115,7 +1115,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1137,7 +1137,7 @@ describe('Properties: `extensions`', fun
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var exts = {};
+ exts[new String('.json')] = 1;
+@@ -1160,7 +1160,7 @@ describe('Properties: `extensions`', fun
+
+ var result2 = fined(pathObj2, defaultObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+ });
+@@ -1185,7 +1185,7 @@ describe('Properties: `cwd`', function()
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1207,7 +1207,7 @@ describe('Properties: `cwd`', function()
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ cwd: 'test/fixtures',
+@@ -1226,7 +1226,7 @@ describe('Properties: `cwd`', function()
+
+ var result2 = fined(pathObj2, defaultObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -1248,7 +1248,7 @@ describe('Properties: `cwd`', function()
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1270,7 +1270,7 @@ describe('Properties: `cwd`', function()
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1292,7 +1292,7 @@ describe('Properties: `cwd`', function()
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1314,7 +1314,7 @@ describe('Properties: `cwd`', function()
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1336,7 +1336,7 @@ describe('Properties: `cwd`', function()
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+ });
+@@ -1362,7 +1362,7 @@ describe('Properties: `findUp`', functio
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1385,7 +1385,7 @@ describe('Properties: `findUp`', functio
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1408,7 +1408,7 @@ describe('Properties: `findUp`', functio
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1428,7 +1428,7 @@ describe('Properties: `findUp`', functio
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1457,7 +1457,7 @@ describe('Properties: `findUp`', functio
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+
+@@ -1480,7 +1480,7 @@ describe('Properties: `findUp`', functio
+
+ var result = fined(pathObj, defaultObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+ done();
+ });
+ });
+@@ -1502,7 +1502,7 @@ describe('Symbolic links', function() {
+
+ var result = fined(pathObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ path: '.',
+@@ -1518,7 +1518,7 @@ describe('Symbolic links', function() {
+
+ var result2 = fined(pathObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -1537,7 +1537,7 @@ describe('Symbolic links', function() {
+
+ var result = fined(pathObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ path: '.',
+@@ -1553,7 +1553,7 @@ describe('Symbolic links', function() {
+
+ var result2 = fined(pathObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -1569,7 +1569,7 @@ describe('Symbolic links', function() {
+
+ var result = fined(pathObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ path: '.',
+@@ -1582,7 +1582,7 @@ describe('Symbolic links', function() {
+
+ var result2 = fined(pathObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -1602,7 +1602,7 @@ describe('Symbolic links', function() {
+
+ var result = fined(pathObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ path: path.basename(symlinkedFiles[1].dir),
+@@ -1619,7 +1619,7 @@ describe('Symbolic links', function() {
+
+ var result2 = fined(pathObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -1639,7 +1639,7 @@ describe('Symbolic links', function() {
+
+ var result = fined(pathObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ path: path.basename(symlinkedFiles[5].dir),
+@@ -1656,7 +1656,7 @@ describe('Symbolic links', function() {
+
+ var result2 = fined(pathObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+
+@@ -1673,7 +1673,7 @@ describe('Symbolic links', function() {
+
+ var result = fined(pathObj);
+
+- expect(result).toEqual(expected);
++ expect(result).to.eql(expected);
+
+ var pathObj2 = {
+ path: path.basename(symlinkedFiles[3].dir),
+@@ -1687,7 +1687,7 @@ describe('Symbolic links', function() {
+
+ var result2 = fined(pathObj2);
+
+- expect(result2).toEqual(expected2);
++ expect(result2).to.eql(expected2);
+ done();
+ });
+ });
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..609eb46
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-expect.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-fined.git
More information about the Pkg-javascript-commits
mailing list