From 2e69d2135a945682bc67b058a29b221e55915ffb Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 27 Jul 2021 01:48:35 +0800 Subject: feat(cli/tools/test): imply media type from doc attribute (#11438) --- cli/tests/test/doc.out | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'cli/tests/test/doc.out') diff --git a/cli/tests/test/doc.out b/cli/tests/test/doc.out index 18f81d3a3..91ecbd4d4 100644 --- a/cli/tests/test/doc.out +++ b/cli/tests/test/doc.out @@ -1,5 +1,10 @@ -Check [WILDCARD]/doc.ts$2-7 +Check [WILDCARD]/doc.ts$2-5.ts +Check [WILDCARD]/doc.ts$6-9.js +Check [WILDCARD]/doc.ts$10-13.jsx +Check [WILDCARD]/doc.ts$14-17.ts +Check [WILDCARD]/doc.ts$18-21.tsx +Check [WILDCARD]/doc.ts$30-35.ts error: TS2367 [ERROR]: This condition will always return 'false' since the types 'string' and 'number' have no overlap. -console.assert(example() == 42); - ~~~~~~~~~~~~~~~ - at [WILDCARD]/doc.ts$2-7.ts:3:16 +console.assert(check() == 42); + ~~~~~~~~~~~~~ + at [WILDCARD]/doc.ts$30-35.ts:3:16 -- cgit v1.2.3