From 16a61d713fdb401fac360d9ab1e2426315483a3c Mon Sep 17 00:00:00 2001 From: detachhead Date: Wed, 10 Jul 2024 21:26:39 +1000 Subject: [PATCH] update `Never` semantic tokens test due to new upstream bug --- .../pyright-internal/src/tests/semanticTokensProvider.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pyright-internal/src/tests/semanticTokensProvider.test.ts b/packages/pyright-internal/src/tests/semanticTokensProvider.test.ts index 62380a3efc..82351d2e2a 100644 --- a/packages/pyright-internal/src/tests/semanticTokensProvider.test.ts +++ b/packages/pyright-internal/src/tests/semanticTokensProvider.test.ts @@ -72,7 +72,7 @@ if (process.platform !== 'win32' || !process.env['CI']) { { type: 'class', modifiers: [], start: 135, length: 4 }, // Type { type: 'class', modifiers: [], start: 142, length: 5 }, // Never { type: 'variable', modifiers: [], start: 148, length: 5 }, // value - { type: 'type', modifiers: [], start: 155, length: 4 }, // Type + { type: 'variable', modifiers: [], start: 155, length: 4 }, // Type (should be type. https://github.com/DetachHead/basedpyright/issues/490) { type: 'function', modifiers: ['definition'], start: 169, length: 8 }, // inferred { type: 'function', modifiers: [], start: 169, length: 8 }, // inferred { type: 'variable', modifiers: [], start: 185, length: 5 }, // value