@@ -9,7 +9,7 @@ final class OperatorDeclTests: XCTestCase {
9
9
prefix operator +++ 1️⃣{}
10
10
""" ,
11
11
diagnostics: [
12
- DiagnosticSpec ( message: " operator should no longer be declared with body " , fixIts: [ " remove operator body " ] )
12
+ DiagnosticSpec ( message: " operator should not be declared with body " , fixIts: [ " remove operator body " ] )
13
13
] , fixedSource: " prefix operator +++ "
14
14
)
15
15
}
@@ -20,7 +20,7 @@ final class OperatorDeclTests: XCTestCase {
20
20
postfix operator +++ 1️⃣{}
21
21
""" ,
22
22
diagnostics: [
23
- DiagnosticSpec ( message: " operator should no longer be declared with body " )
23
+ DiagnosticSpec ( message: " operator should not be declared with body " )
24
24
]
25
25
)
26
26
}
@@ -31,7 +31,7 @@ final class OperatorDeclTests: XCTestCase {
31
31
infix operator +++ 1️⃣{}
32
32
""" ,
33
33
diagnostics: [
34
- DiagnosticSpec ( message: " operator should no longer be declared with body " )
34
+ DiagnosticSpec ( message: " operator should not be declared with body " )
35
35
]
36
36
)
37
37
}
@@ -44,7 +44,7 @@ final class OperatorDeclTests: XCTestCase {
44
44
}
45
45
""" ,
46
46
diagnostics: [
47
- DiagnosticSpec ( message: " operator should no longer be declared with body " , fixIts: [ " remove operator body " ] )
47
+ DiagnosticSpec ( message: " operator should not be declared with body " , fixIts: [ " remove operator body " ] )
48
48
] , fixedSource: """
49
49
infix operator +++*
50
50
"""
@@ -57,7 +57,7 @@ final class OperatorDeclTests: XCTestCase {
57
57
infix operator +++*+ : A 1️⃣{ }
58
58
""" ,
59
59
diagnostics: [
60
- DiagnosticSpec ( message: " operator should no longer be declared with body " )
60
+ DiagnosticSpec ( message: " operator should not be declared with body " )
61
61
]
62
62
)
63
63
}
@@ -69,7 +69,7 @@ final class OperatorDeclTests: XCTestCase {
69
69
prefix operator +++** : A 1️⃣{ }
70
70
""" ,
71
71
diagnostics: [
72
- DiagnosticSpec ( message: " operator should no longer be declared with body " )
72
+ DiagnosticSpec ( message: " operator should not be declared with body " )
73
73
]
74
74
)
75
75
}
@@ -88,7 +88,7 @@ final class OperatorDeclTests: XCTestCase {
88
88
postfix operator ++*+* : A 1️⃣{ }
89
89
""" ,
90
90
diagnostics: [
91
- DiagnosticSpec ( message: " operator should no longer be declared with body " )
91
+ DiagnosticSpec ( message: " operator should not be declared with body " )
92
92
]
93
93
)
94
94
}
@@ -119,7 +119,7 @@ final class OperatorDeclTests: XCTestCase {
119
119
""" ,
120
120
diagnostics: [
121
121
// TODO: Old parser expected error on line 1: operator must be declared as 'prefix', 'postfix', or 'infix'
122
- DiagnosticSpec ( message: " operator should no longer be declared with body " )
122
+ DiagnosticSpec ( message: " operator should not be declared with body " )
123
123
]
124
124
)
125
125
}
@@ -131,7 +131,7 @@ final class OperatorDeclTests: XCTestCase {
131
131
""" ,
132
132
diagnostics: [
133
133
// TODO: Old parser expected error on line 1: operator must be declared as 'prefix', 'postfix', or 'infix'
134
- DiagnosticSpec ( message: " operator should no longer be declared with body " )
134
+ DiagnosticSpec ( message: " operator should not be declared with body " )
135
135
]
136
136
)
137
137
}
0 commit comments