Skip to content

Commit bd04af2

Browse files
committed
fix: update test to reflect Swift parser restoration
Swift no longer uses fallback chunking since we restored the parser
1 parent 8c1c99d commit bd04af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/code-index/processors/__tests__/parser.vb.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ describe("Fallback Extensions Configuration", () => {
243243
// Extensions that should use fallback
244244
expect(shouldUseFallbackChunking(".vb")).toBe(true)
245245
expect(shouldUseFallbackChunking(".scala")).toBe(true)
246-
expect(shouldUseFallbackChunking(".swift")).toBe(true)
247246

248247
// Extensions that should not use fallback (have working parsers)
248+
expect(shouldUseFallbackChunking(".swift")).toBe(false) // Swift has a working parser
249249
expect(shouldUseFallbackChunking(".js")).toBe(false)
250250
expect(shouldUseFallbackChunking(".ts")).toBe(false)
251251
expect(shouldUseFallbackChunking(".py")).toBe(false)

0 commit comments

Comments
 (0)