File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -35,21 +35,21 @@ extension OutputType: CustomStringConvertible {
35
35
public var description : String {
36
36
switch self {
37
37
case . undefined:
38
- return " undefined "
38
+ " undefined "
39
39
case . task:
40
- return " task "
40
+ " task "
41
41
case . test:
42
- return " test "
42
+ " test "
43
43
case . warning:
44
- return " warning "
44
+ " warning "
45
45
case . error:
46
- return " error "
46
+ " error "
47
47
case . result:
48
- return " result "
48
+ " result "
49
49
case . testCase:
50
- return " testCase "
50
+ " testCase "
51
51
case . nonContextualError:
52
- return " nonContextualError "
52
+ " nonContextualError "
53
53
}
54
54
}
55
55
}
Original file line number Diff line number Diff line change @@ -197,9 +197,9 @@ struct TerminalRenderer: OutputRendering {
197
197
198
198
func format( testSummary: TestSummary ) -> String {
199
199
if testSummary. isSuccess ( ) {
200
- return colored ? " Tests Passed: \( testSummary. description) " . s. Bold. f. Green : " Tests Passed: \( testSummary. description) "
200
+ colored ? " Tests Passed: \( testSummary. description) " . s. Bold. f. Green : " Tests Passed: \( testSummary. description) "
201
201
} else {
202
- return colored ? " Tests Failed: \( testSummary. description) " . s. Bold. f. Red : " Tests Failed: \( testSummary. description) "
202
+ colored ? " Tests Failed: \( testSummary. description) " . s. Bold. f. Red : " Tests Failed: \( testSummary. description) "
203
203
}
204
204
}
205
205
}
You can’t perform that action at this time.
0 commit comments