Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gereons committed Apr 30, 2024
1 parent 7169c88 commit 7f27667
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.8
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down
2 changes: 1 addition & 1 deletion Tests/EnumTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ final class EnumTest: XCTestCase {

private let expected = """
public enum Enum: String, Codable, CaseIterable, UnknownCaseRepresentable {
case case1 = "CASE1"
case _2case = "2CASE"
case case1 = "CASE1"
case _public = "PUBLIC"
case testSnakeCase = "TEST_SNAKE_CASE"
Expand Down
2 changes: 1 addition & 1 deletion Tests/InheritanceTest2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ public struct Dog: Codable {
}
public enum Foobar: String, Codable, CaseIterable, UnknownCaseRepresentable {
case foo = "foo"
case bar = "bar"
case baz = "baz"
case foo = "foo"
case _unknownCase
public static let unknownCase = Self._unknownCase
Expand Down
2 changes: 1 addition & 1 deletion Tests/PODTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ final class PODTest: XCTestCase {
}
public enum Foobar: String, Codable, CaseIterable, UnknownCaseRepresentable {
case foo = "foo"
case bar = "bar"
case baz = "baz"
case foo = "foo"
case _unknownCase
public static let unknownCase = Self._unknownCase
Expand Down

0 comments on commit 7f27667

Please sign in to comment.