fix: update test to reflect Swift parser restoration

Swift no longer uses fallback chunking since we restored the parser
This commit is contained in:
Roo Code 2025-08-22 13:56:22 +00:00
parent 8c1c99dc36
commit bd04af2378

View file

@ -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)