diff --git a/.circleci/config.yml b/.circleci/config.yml index 0998e3e..e926449 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,21 +24,15 @@ commands: path: test_output jobs: - test-xcode10-ios12: + test-xcode12-ios14: macos: - xcode: "10.3.0" + xcode: "12.5.0" steps: - test_and_store_results - test-xcode11-ios13: - macos: - xcode: "11.0.0" - steps: - - test_and_store_results - - test-xcode12-ios14: + test-xcode13-ios15: macos: - xcode: "12.4.0" + xcode: "13.0.0" steps: - test_and_store_results @@ -46,6 +40,5 @@ workflows: version: 2.1 build-and-test: jobs: - - test-xcode10-ios12 - - test-xcode11-ios13 - - test-xcode12-ios14 \ No newline at end of file + - test-xcode12-ios14 + - test-xcode13-ios15 \ No newline at end of file diff --git a/README.md b/README.md index f5b33c1..1df7eae 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Platforms](https://img.shields.io/badge/platform-%20iOS%20|%20macOS%20|%20tvOS%20|%20linux-gray.svg)](https://img.shields.io/badge/platform-%20iOS%20|%20macOS%20|%20tvOS%20|%20linux-gray.svg) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift Package Manager Compatible](https://img.shields.io/badge/SwiftPM-Compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager) +![Xcode version](https://img.shields.io/badge/Xcode-13.0.0-blue) Lift is a Swift library for generating and extracting values into and out of JSON-like data structures. Lift was carefully designed to meet the following requirements: diff --git a/Tests/LiftTests/JarTests.swift b/Tests/LiftTests/JarTests.swift index a9efbbf..63a0094 100644 --- a/Tests/LiftTests/JarTests.swift +++ b/Tests/LiftTests/JarTests.swift @@ -254,7 +254,7 @@ class JarTests: XCTestCase { } func testArrayOfTuples() throws { - let jar: Jar = [["Adam", 25 as Jar], ["Eve", 20]] + let jar: Jar = [["Adam", 25 as Jar], ["Eve", 20 as Jar]] typealias NameAndAge = (name: String, age: Int) let nameAndAges: [NameAndAge] = try (jar^ as [Jar]).map { jar in try (jar[0]^, jar[1]^) } XCTAssertEqual(nameAndAges[0].name, "Adam")