Skip to content

Commit 7739d78

Browse files
authored
Merge pull request swiftlang#37519 from bnbarham/simplify-check-clause
[Tests] Make some checks in invalid-top less specific
2 parents 7cc0019 + ecc2d1c commit 7739d78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Serialization/AllowErrors/invalid-top.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ func test(s: ValidType) {
3636
// Check SIL diagnostics are still output (no reason not to output SIL since
3737
// there were no errors)
3838
func other() -> Int {}
39-
// CHECK-VALID: valid-uses.swift:10:22: error: missing return in global function expected to return 'Int'
39+
// CHECK-VALID: valid-uses.swift:10:22: error: missing return
4040
func other2() -> Bool {}
41-
// CHECK-VALID: valid-uses.swift:12:24: error: missing return in global function expected to return 'Bool'
41+
// CHECK-VALID: valid-uses.swift:12:24: error: missing return
4242

4343

4444
// BEGIN invalid-uses.swift

0 commit comments

Comments
 (0)