Skip to content

Commit d49afad

Browse files
committed
Fix flaky test
1 parent 194ecb7 commit d49afad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/CommonTestModelsTests/TestNameTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import XCTest
55
final class TestNameTests: XCTestCase {
66
let value = ["value": TestName(className: "ClassName", methodName: "testMethod")]
77
let encoder = JSONEncoder()
8+
9+
override func setUp() {
10+
encoder.outputFormatting = .sortedKeys
11+
}
812

913
func test___decoding_from_string() throws {
1014
let result: [String: TestName] = try fromJson(

0 commit comments

Comments
 (0)