[Pkg-javascript-commits] [less.js] 26/50: Switch to a different js error as the text is different in new versions of node
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:22:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v1.7.1
in repository less.js.
commit 9ad5f181dc6449e5c74b5b3eb04d65c900149da8
Author: Luke Page <luke.a.page at gmail.com>
Date: Tue May 6 06:35:01 2014 +0100
Switch to a different js error as the text is different in new versions of node
---
test/less/errors/javascript-error.less | 2 +-
test/less/errors/javascript-error.txt | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/less/errors/javascript-error.less b/test/less/errors/javascript-error.less
index 9cffb9f..9332a37 100644
--- a/test/less/errors/javascript-error.less
+++ b/test/less/errors/javascript-error.less
@@ -1,3 +1,3 @@
.scope {
- var: `this.foo.toJS()`;
+ var: `this.foo.toJS`;
}
diff --git a/test/less/errors/javascript-error.txt b/test/less/errors/javascript-error.txt
index 3c83a96..c4da950 100644
--- a/test/less/errors/javascript-error.txt
+++ b/test/less/errors/javascript-error.txt
@@ -1,4 +1,4 @@
-SyntaxError: JavaScript evaluation error: 'TypeError: Cannot call method 'toJS' of undefined' in {path}javascript-error.less on line 2, column 27:
+SyntaxError: JavaScript evaluation error: 'TypeError: Cannot read property 'toJS' of undefined' in {path}javascript-error.less on line 2, column 25:
1 .scope {
-2 var: `this.foo.toJS()`;
+2 var: `this.foo.toJS`;
3 }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list