[Pkg-javascript-commits] [less.js] 29/50: Added another test case for missed space in color definition

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 a5406a939cc3cc0c88563708c0b0a85340974e4d
Author: Ondřej Macoszek <ondra at macoszek.cz>
Date:   Thu May 8 12:18:28 2014 +0200

    Added another test case for missed space in color definition
---
 test/less/errors/color-invalid-hex-code2.less | 3 +++
 test/less/errors/color-invalid-hex-code2.txt  | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/test/less/errors/color-invalid-hex-code2.less b/test/less/errors/color-invalid-hex-code2.less
new file mode 100644
index 0000000..cb9a9b7
--- /dev/null
+++ b/test/less/errors/color-invalid-hex-code2.less
@@ -0,0 +1,3 @@
+.a {
+    @wrongHEXColorCode: #fffblack;
+}
\ No newline at end of file
diff --git a/test/less/errors/color-invalid-hex-code2.txt b/test/less/errors/color-invalid-hex-code2.txt
new file mode 100644
index 0000000..dd3996b
--- /dev/null
+++ b/test/less/errors/color-invalid-hex-code2.txt
@@ -0,0 +1,4 @@
+SyntaxError: Invalid HEX color code in {path}color-invalid-hex-code2.less on line 2, column 29:
+1 .a {
+2     @wrongHEXColorCode: #fffblack;
+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