40 lines
2.1 KiB
Diff
40 lines
2.1 KiB
Diff
diff -Nur a/test/less/errors/javascript-error.txt b/test/less/errors/javascript-error.txt
|
|
--- a/test/less/errors/javascript-error.txt 1985-10-26 16:15:00.000000000 +0800
|
|
+++ b/test/less/errors/javascript-error.txt 2023-02-11 10:31:43.000000000 +0800
|
|
@@ -1,4 +1,4 @@
|
|
-SyntaxError: JavaScript evaluation error: 'TypeError: Cannot read property 'toJS' of undefined' in {path}javascript-error.less on line 2, column 10:
|
|
+SyntaxError: JavaScript evaluation error: 'TypeError: Cannot read properties of undefined (reading 'toJS')' in {path}javascript-error.less on line 2, column 10:
|
|
1 .scope {
|
|
2 var: `this.foo.toJS`;
|
|
3 }
|
|
diff -Nur a/test/less/errors/plugin-1.txt b/test/less/errors/plugin-1.txt
|
|
--- a/test/less/errors/plugin-1.txt 1985-10-26 16:15:00.000000000 +0800
|
|
+++ b/test/less/errors/plugin-1.txt 2023-02-11 10:45:25.000000000 +0800
|
|
@@ -1,2 +1,2 @@
|
|
-SyntaxError: Error in {path}plugin-error.js{node} on line 1, column 8:
|
|
-1 throw new Error('Error');{/node}
|
|
+SyntaxError: Error in {path}plugin-error.js on line 1, column 8:
|
|
+1 throw new Error('Error');
|
|
diff -Nur a/test/less/errors/plugin-2.txt b/test/less/errors/plugin-2.txt
|
|
--- a/test/less/errors/plugin-2.txt 1985-10-26 16:15:00.000000000 +0800
|
|
+++ b/test/less/errors/plugin-2.txt 2023-02-11 10:45:31.000000000 +0800
|
|
@@ -1,5 +1,4 @@
|
|
-SyntaxError: An error was here. in {path}plugin-error-2.js{node} on line 3, column 16:
|
|
+SyntaxError: An error was here. in {path}plugin-error-2.js on line 3, column 16:
|
|
2 use: function() {
|
|
3 throw new Error('An error was here.')
|
|
4 }
|
|
-{/node}
|
|
\ No newline at end of file
|
|
diff -Nur a/test/less/errors/plugin-3.txt b/test/less/errors/plugin-3.txt
|
|
--- a/test/less/errors/plugin-3.txt 1985-10-26 16:15:00.000000000 +0800
|
|
+++ b/test/less/errors/plugin-3.txt 2023-02-11 10:45:37.000000000 +0800
|
|
@@ -1,5 +1,4 @@
|
|
-SyntaxError: Plugin error during evaluation in {path}plugin-error-3.js{node} on line 3, column 16:
|
|
+SyntaxError: Plugin error during evaluation in {path}plugin-error-3.js on line 3, column 16:
|
|
2 eval: function() {
|
|
3 throw new Error('An error was here.')
|
|
4 }
|
|
-{/node}
|
|
\ No newline at end of file
|