From 50e8ab8a8630a272e9862f2fb7014107474405c6 Mon Sep 17 00:00:00 2001 From: juju Date: Wed, 12 Jan 2022 20:05:06 +0800 Subject: feat(cli): add ignore directives to bundled code (#13309) This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually. --- cli/tests/integration/compile_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/integration/compile_tests.rs') diff --git a/cli/tests/integration/compile_tests.rs b/cli/tests/integration/compile_tests.rs index bff03013f..1a81784af 100644 --- a/cli/tests/integration/compile_tests.rs +++ b/cli/tests/integration/compile_tests.rs @@ -130,7 +130,7 @@ fn standalone_error() { .unwrap(); assert!(!output.status.success()); assert_eq!(output.stdout, b""); - let expected_stderr = "error: Error: boom!\n at boom (file://$deno$/bundle.js:2:11)\n at foo (file://$deno$/bundle.js:5:5)\n at file://$deno$/bundle.js:7:1\n"; + let expected_stderr = "error: Error: boom!\n at boom (file://$deno$/bundle.js:6:11)\n at foo (file://$deno$/bundle.js:9:5)\n at file://$deno$/bundle.js:11:1\n"; let stderr = String::from_utf8(output.stderr).unwrap(); assert_eq!(stderr, expected_stderr); } -- cgit v1.2.3