Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Oct 9, 2024
1 parent 520ff54 commit 70281fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Tests/ParsingTests/FromSubstringTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Parsing
import XCTest

@available(*, deprecated)
final class FromSubstringTests: XCTestCase {
func testUTF8View() {
let p = Parse(input: Substring.UTF8View.self) {
Expand Down
3 changes: 2 additions & 1 deletion Tests/ParsingTests/OneOfTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ final class OneOfTests: XCTestCase {
struct JSONObject: ParserPrinter {
var body: some ParserPrinter<Substring.UTF8View, [String: JSONValue.Output]> {
"{".utf8
Many(into: [String: JSONValue.Output]()) { object, pair in
Many(into: [String: JSONValue.Output]()) {
(object: inout [String: JSONValue.Output], pair: (String, JSONValue.Output)) in
let (name, value) = pair
object[name] = value
} decumulator: { object in
Expand Down

0 comments on commit 70281fc

Please sign in to comment.