summaryrefslogtreecommitdiff
path: root/tests/testdata/check/no_error_truncation
diff options
context:
space:
mode:
authorMohammad Sulaiman <mohammad.sulaiman@exalt.ps>2024-10-02 12:22:35 +0300
committerGitHub <noreply@github.com>2024-10-02 09:22:35 +0000
commit3c193aef98bea6b3e0c9592cfdb43268e7a7e4af (patch)
treeadbf9730a91c0f692a633f028d8066819e37ab94 /tests/testdata/check/no_error_truncation
parentd116709d064ce85922f1fd635d5915b4659c83d5 (diff)
chore: deprecate check itests (#25963)
Diffstat (limited to 'tests/testdata/check/no_error_truncation')
-rw-r--r--tests/testdata/check/no_error_truncation/deno.json5
-rw-r--r--tests/testdata/check/no_error_truncation/main.out11
-rw-r--r--tests/testdata/check/no_error_truncation/main.ts12
3 files changed, 0 insertions, 28 deletions
diff --git a/tests/testdata/check/no_error_truncation/deno.json b/tests/testdata/check/no_error_truncation/deno.json
deleted file mode 100644
index 643707ccc..000000000
--- a/tests/testdata/check/no_error_truncation/deno.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "compilerOptions": {
- "noErrorTruncation": true
- }
-}
diff --git a/tests/testdata/check/no_error_truncation/main.out b/tests/testdata/check/no_error_truncation/main.out
deleted file mode 100644
index 13fd5aae4..000000000
--- a/tests/testdata/check/no_error_truncation/main.out
+++ /dev/null
@@ -1,11 +0,0 @@
-error: TS2322 [ERROR]: Type '{ propertyWithAnExceedinglyLongName1: string; propertyWithAnExceedinglyLongName2: string; propertyWithAnExceedinglyLongName3: string; propertyWithAnExceedinglyLongName4: string; propertyWithAnExceedinglyLongName5: string; propertyWithAnExceedinglyLongName6: string; propertyWithAnExceedinglyLongName7: string; propertyWithAnExceedinglyLongName8: string; }' is not assignable to type 'string'.
-const _s: string = x;
- ~~
- at file:///[WILDCARD]/no_error_truncation/main.ts:12:7
-
-TS2454 [ERROR]: Variable 'x' is used before being assigned.
-const _s: string = x;
- ^
- at file:///[WILDCARD]/no_error_truncation/main.ts:12:20
-
-Found 2 errors.
diff --git a/tests/testdata/check/no_error_truncation/main.ts b/tests/testdata/check/no_error_truncation/main.ts
deleted file mode 100644
index bb1856602..000000000
--- a/tests/testdata/check/no_error_truncation/main.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-let x: {
- propertyWithAnExceedinglyLongName1: string;
- propertyWithAnExceedinglyLongName2: string;
- propertyWithAnExceedinglyLongName3: string;
- propertyWithAnExceedinglyLongName4: string;
- propertyWithAnExceedinglyLongName5: string;
- propertyWithAnExceedinglyLongName6: string;
- propertyWithAnExceedinglyLongName7: string;
- propertyWithAnExceedinglyLongName8: string;
-};
-
-const _s: string = x;