[Pkg-javascript-commits] [less.js] 24/25: tests for import malformed

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v1.7.4
in repository less.js.

commit 0e883957cc1ae38a1f4a0976557929ae8a74e778
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sun Jul 27 20:56:21 2014 +0100

    tests for import malformed
---
 test/less/errors/import-malformed.less | 1 +
 test/less/errors/import-malformed.txt  | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/test/less/errors/import-malformed.less b/test/less/errors/import-malformed.less
new file mode 100644
index 0000000..66768c8
--- /dev/null
+++ b/test/less/errors/import-malformed.less
@@ -0,0 +1 @@
+ at import malformed "this-statement-is-invalid.less";
diff --git a/test/less/errors/import-malformed.txt b/test/less/errors/import-malformed.txt
new file mode 100644
index 0000000..f8ba9f8
--- /dev/null
+++ b/test/less/errors/import-malformed.txt
@@ -0,0 +1,3 @@
+SyntaxError: malformed import statement in {path}import-malformed.less on line 1, column 1:
+1 @import malformed "this-statement-is-invalid.less";
+2 

-- 
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