We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f522608 commit 9f94affCopy full SHA for 9f94aff
Tests/SwiftParserTest/ParserTests.swift
@@ -23,8 +23,8 @@ public class ParserTests: XCTestCase {
23
let fileContents = try Data(contentsOf: fileURL)
24
let parsed = fileContents.withUnsafeBytes({ buffer in
25
// Release builds are fine with the default maximum nesting level of 256.
26
- // Debug builds overflow with any stack size bigger than 25-ish.
27
- Parser.parse(source: buffer.bindMemory(to: UInt8.self), maximumNestingLevel: 25)
+ // Debug builds overflow with any stack size bigger than 20-ish.
+ Parser.parse(source: buffer.bindMemory(to: UInt8.self), maximumNestingLevel: 20)
28
})
29
assertDataEqualWithDiff(
30
Data(parsed.syntaxTextBytes),
0 commit comments