From bd04af23780d1053f7497be535cd5a420161b7a7 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Fri, 22 Aug 2025 13:56:22 +0000 Subject: [PATCH] fix: update test to reflect Swift parser restoration Swift no longer uses fallback chunking since we restored the parser --- src/services/code-index/processors/__tests__/parser.vb.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/code-index/processors/__tests__/parser.vb.spec.ts b/src/services/code-index/processors/__tests__/parser.vb.spec.ts index 3b17e0d67f..2f55b6f3de 100644 --- a/src/services/code-index/processors/__tests__/parser.vb.spec.ts +++ b/src/services/code-index/processors/__tests__/parser.vb.spec.ts @@ -243,9 +243,9 @@ describe("Fallback Extensions Configuration", () => { // Extensions that should use fallback expect(shouldUseFallbackChunking(".vb")).toBe(true) expect(shouldUseFallbackChunking(".scala")).toBe(true) - expect(shouldUseFallbackChunking(".swift")).toBe(true) // Extensions that should not use fallback (have working parsers) + expect(shouldUseFallbackChunking(".swift")).toBe(false) // Swift has a working parser expect(shouldUseFallbackChunking(".js")).toBe(false) expect(shouldUseFallbackChunking(".ts")).toBe(false) expect(shouldUseFallbackChunking(".py")).toBe(false)