@@ -45,7 +45,7 @@ final class ConsoleTextViewModelTests: ConsoleTestCase {
45
45
reset ( )
46
46
47
47
// THEN
48
- XCTAssertNotNil ( string. wholeMatch ( of: /(.*?) · Test-Label · test-text\n/ ) , string)
48
+ XCTAssertNotNil ( string. wholeMatch ( of: # /(.*?) · Test-Label · test-text\n/# ) , string)
49
49
}
50
50
51
51
func testInsertedMessageRendered( ) {
@@ -57,7 +57,7 @@ final class ConsoleTextViewModelTests: ConsoleTestCase {
57
57
58
58
// THEN
59
59
wait ( for: [ expectation] , timeout: 2 )
60
- XCTAssertNotNil ( string. wholeMatch ( of: /(.*?) · Test-Label · test-text\n/ ) , string)
60
+ XCTAssertNotNil ( string. wholeMatch ( of: # /(.*?) · Test-Label · test-text\n/# ) , string)
61
61
}
62
62
63
63
func testInsertedPendingTaskRendered( ) {
@@ -75,7 +75,7 @@ final class ConsoleTextViewModelTests: ConsoleTestCase {
75
75
76
76
// THEN
77
77
wait ( for: [ textInsertedExpectation] , timeout: 2 )
78
- XCTAssertNotNil ( string. wholeMatch ( of: /(.*?) · Pending · GET https:\/ \/example.com\/api\n/ ) , string)
78
+ XCTAssertNotNil ( string. wholeMatch ( of: # /(.*?) · Pending · GET https:\/\/example.com\/api\n/# ) , string)
79
79
80
80
// GIVEN
81
81
let textUpdatedEpectation = self . expectation ( description: " textUpdatedxpectation " )
@@ -87,7 +87,7 @@ final class ConsoleTextViewModelTests: ConsoleTestCase {
87
87
88
88
// THEN
89
89
wait ( for: [ textUpdatedEpectation] , timeout: 2 )
90
- XCTAssertNotNil ( string. wholeMatch ( of: /(.*?) · 200 OK · GET https:\/ \/example.com\/api\n/ ) , string)
90
+ XCTAssertNotNil ( string. wholeMatch ( of: # /(.*?) · 200 OK · GET https:\/\/example.com\/api\n/# ) , string)
91
91
}
92
92
93
93
func testDetailsShown( ) throws {
0 commit comments