Permalink
Browse files

Fix package-spm.swift order generation issue

  • Loading branch information...
Michael Long authored and kzaher committed Jun 17, 2018
1 parent 98d5230 commit df4d74ac9f6ba4037052b5fc1daeee9ee973c3e1
Showing with 3 additions and 2 deletions.
  1. +3 −2 scripts/package-spm.swift
@@ -214,7 +214,8 @@ func buildAllTestsTarget(_ testsPath: String) throws {
mainContent.append("}")
mainContent.append("")
for (name, methods) in reducedMethods {
for name in reducedMethods.keys.sorted() {
let methods = reducedMethods[name]!
mainContent.append("")
mainContent.append("final class \(name)_ : \(name), RxTestCase {")
@@ -260,7 +261,7 @@ func buildAllTestsTarget(_ testsPath: String) throws {
mainContent.append("#endif")
mainContent.append("")
mainContent.append(" XCTMain([")
for testCase in reducedMethods.keys {
for testCase in reducedMethods.keys.sorted() {
mainContent.append(" testCase(\(testCase)_.allTests),")
}
mainContent.append(" ])")

0 comments on commit df4d74a

Please sign in to comment.