[Pkg-javascript-commits] [node-browser-pack] 90/141: fix test
Bastien Roucariès
rouca at moszumanska.debian.org
Thu May 4 10:23:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-browser-pack.
commit f2f46395ddaea0b78e4f3bc35df3aa35f8565353
Author: James Halliday <mail at substack.net>
Date: Thu Jul 24 12:13:47 2014 -0700
fix test
---
test/source-maps.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/source-maps.js b/test/source-maps.js
index 74cfe75..e4d4076 100644
--- a/test/source-maps.js
+++ b/test/source-maps.js
@@ -21,7 +21,7 @@ function grabSourceMap(lastLine) {
}
function grabLastLine(src) {
- return src.split('\n').pop();
+ return src.split('\n').slice(-2)[0];
}
test('pack one file with source file field and one without', function (t) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browser-pack.git
More information about the Pkg-javascript-commits
mailing list