File: fix-error-string.patch

package info (click to toggle)
node-loader-utils 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 284 kB
  • sloc: makefile: 6; sh: 2
file content (16 lines) | stat: -rw-r--r-- 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix change in error string
Author: Xavier Guimard <yadd@debian.org>
Forwarded: no
Last-Update: 2019-01-17

--- a/test/parseQuery.test.js
+++ b/test/parseQuery.test.js
@@ -75,7 +75,7 @@
 		it("should throw an error", () => {
 			assert.throws(
 				() => loaderUtils.parseQuery("a"),
-				"A valid query string passed to parseQuery should begin with '?'"
+				"Error: A valid query string passed to parseQuery should begin with '?'"
 			);
 		});
 	});