summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-10-02 13:51:37 +0200
committerGitHub <noreply@github.com>2020-10-02 13:51:37 +0200
commite5348a6a38b3c06a916223ad0b99e8cfe47725b1 (patch)
tree8c8f5f0e2328781b96f92e4842cc0b4a64b35650 /cli/tests
parent5cd29b37f7946ac05783bae777be8503182a8b8e (diff)
upgrade: swc, deno_doc, deno_lint, dprint (#7793)
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/lint/expected_from_stdin_json.out3
-rw-r--r--cli/tests/lint/expected_json.out9
-rw-r--r--cli/tests/unit/console_test.ts1
3 files changed, 9 insertions, 4 deletions
diff --git a/cli/tests/lint/expected_from_stdin_json.out b/cli/tests/lint/expected_from_stdin_json.out
index ed5a0c5dc..148ee6cdd 100644
--- a/cli/tests/lint/expected_from_stdin_json.out
+++ b/cli/tests/lint/expected_from_stdin_json.out
@@ -13,7 +13,8 @@
},
"filename": "_stdin.ts",
"message": "`any` type is not allowed",
- "code": "no-explicit-any"
+ "code": "no-explicit-any",
+ "hint": null
}
],
"errors": []
diff --git a/cli/tests/lint/expected_json.out b/cli/tests/lint/expected_json.out
index 71340578e..a49818a3b 100644
--- a/cli/tests/lint/expected_json.out
+++ b/cli/tests/lint/expected_json.out
@@ -13,7 +13,8 @@
},
"filename": "[WILDCARD]file1.js",
"message": "Ignore directive requires lint rule code",
- "code": "ban-untagged-ignore"
+ "code": "ban-untagged-ignore",
+ "hint": null
},
{
"range": {
@@ -28,7 +29,8 @@
},
"filename": "[WILDCARD]file1.js",
"message": "Empty block statement",
- "code": "no-empty"
+ "code": "no-empty",
+ "hint": null
},
{
"range": {
@@ -43,7 +45,8 @@
},
"filename": "[WILDCARD]file2.ts",
"message": "Empty block statement",
- "code": "no-empty"
+ "code": "no-empty",
+ "hint": null
}
],
"errors": [
diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts
index c9cbcc313..caee51a31 100644
--- a/cli/tests/unit/console_test.ts
+++ b/cli/tests/unit/console_test.ts
@@ -1501,6 +1501,7 @@ unitTest(function inspectString(): void {
unitTest(function inspectGetterError(): void {
assertEquals(
Deno.inspect({
+ // deno-lint-ignore getter-return
get foo() {
throw new Error("bar");
},