Skip to content

Commit 1370b14

Browse files
Carl PetoCarl Peto
authored andcommitted
Attempt to fix broken unit test.
1 parent 336ab91 commit 1370b14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Parse/ConditionalCompilation/basicParseErrors.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ struct S {
8787

8888
#endif
8989

90-
#if arch(leg) // expected-warning {{unknown architecture for build configuration 'arch'}} expected-note{{did you mean 'arm'?}} {{10-13=arm}}
90+
#if arch(arn) // expected-warning {{unknown architecture for build configuration 'arch'}} expected-note{{did you mean 'arm'?}} {{10-13=arm}}
9191
#endif
9292

9393
#if _endian(mid) // expected-warning {{unknown endianness for build configuration '_endian'}} expected-note{{did you mean 'big'?}} {{13-16=big}}
@@ -123,7 +123,7 @@ undefinedFunc() // expected-error {{cannot find 'undefinedFunc' in scope}}
123123
#endif
124124

125125
/// Invalid platform condition arguments don't invalidate the whole condition.
126-
#if !arch(tecture) && !os(ystem) && !_endian(ness)
126+
#if !arch(arn) && !os(ystem) && !_endian(ness)
127127
// expected-warning@-1 {{unknown architecture for build configuration 'arch'}}
128128
// expected-note@-2 {{did you mean 'arm'?}} {{11-18=arm}}
129129
// expected-warning@-3 {{unknown operating system for build configuration 'os'}}
@@ -136,7 +136,7 @@ func fn_k() {}
136136
#endif
137137
fn_k()
138138

139-
#if os(cillator) || arch(ive)
139+
#if os(cillator) || arch(arn)
140140
// expected-warning@-1 {{unknown operating system for build configuration 'os'}}
141141
// expected-note@-2 {{did you mean 'macOS'?}} {{8-16=macOS}}
142142
// expected-note@-3 {{did you mean 'iOS'?}} {{8-16=iOS}}

0 commit comments

Comments
 (0)