mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[test] fix typo correction
Reverses the change done to this file in 4c5a13a63e.
It seems like this is an unstable diagnostic.
This commit is contained in:
@@ -10,7 +10,7 @@ import NoSuchModule
|
||||
|
||||
// This is close enough to get typo-correction.
|
||||
func test_short_and_close() {
|
||||
let plop = 4 // expected-note {{did you mean 'plop'?}}
|
||||
let plop = 4 // expected-note {{'plop' declared here}}
|
||||
let bab = plob + 1
|
||||
// expected-error@-1 {{cannot find 'plob' in scope}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user