[Pkg-javascript-commits] [node-lexical-scope] 15/83: move test sources around
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:45:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-lexical-scope.
commit b0f7976ef8e77f394e067942a3adfd5549729c5f
Author: James Halliday <mail at substack.net>
Date: Tue Feb 19 23:27:23 2013 -0800
move test sources around
---
test/detect.js | 2 +-
test/{sources => files}/detect.js | 0
test/sources/detect.js | 30 +-----------------------------
test/sources/detect_source.js | 1 -
4 files changed, 2 insertions(+), 31 deletions(-)
diff --git a/test/detect.js b/test/detect.js
index 780627a..e7ee3dc 100644
--- a/test/detect.js
+++ b/test/detect.js
@@ -1,6 +1,6 @@
var test = require('tape');
var detect = require('../');
-var src = require('./sources/detect_source.js');
+var src = require('./sources/detect.js');
test('check locals and globals', function (t) {
t.plan(3);
diff --git a/test/sources/detect.js b/test/files/detect.js
similarity index 100%
copy from test/sources/detect.js
copy to test/files/detect.js
diff --git a/test/sources/detect.js b/test/sources/detect.js
index 6213514..b463899 100644
--- a/test/sources/detect.js
+++ b/test/sources/detect.js
@@ -1,29 +1 @@
-var x = 5;
-var y = 3, z = 2;
-
-w.foo();
-w = 2;
-
-RAWR=444;
-RAWR.foo();
-
-BLARG=3;
-
-foo(function () {
- var BAR = 3;
- process.nextTick(function (ZZZZZZZZZZZZ) {
- console.log('beep boop');
- var xyz = 4;
- x += 10;
- x.zzzzzz;
- ZZZ=6;
- });
- function doom () {
- }
- ZZZ.foo();
-
-});
-
-function beep () {}
-
-console.log(xyz);
+module.exports = "var x = 5;\nvar y = 3, z = 2;\n\nw.foo();\nw = 2;\n\nRAWR=444;\nRAWR.foo();\n\nBLARG=3;\n\nfoo(function () {\n var BAR = 3;\n process.nextTick(function (ZZZZZZZZZZZZ) {\n console.log('beep boop');\n var xyz = 4;\n x += 10;\n x.zzzzzz;\n ZZZ=6;\n });\n function doom () {\n }\n ZZZ.foo();\n\n});\n\nfunction beep () {}\n\nconsole.log(xyz);\n"
diff --git a/test/sources/detect_source.js b/test/sources/detect_source.js
deleted file mode 100644
index b463899..0000000
--- a/test/sources/detect_source.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = "var x = 5;\nvar y = 3, z = 2;\n\nw.foo();\nw = 2;\n\nRAWR=444;\nRAWR.foo();\n\nBLARG=3;\n\nfoo(function () {\n var BAR = 3;\n process.nextTick(function (ZZZZZZZZZZZZ) {\n console.log('beep boop');\n var xyz = 4;\n x += 10;\n x.zzzzzz;\n ZZZ=6;\n });\n function doom () {\n }\n ZZZ.foo();\n\n});\n\nfunction beep () {}\n\nconsole.log(xyz);\n"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-lexical-scope.git
More information about the Pkg-javascript-commits
mailing list