Skip to content

Commit 052bd82

Browse files
authored
Merge pull request #24735 from brentdax/sdks-advance-funeral-by-funeral-5.1-04-24-2019
[5.1 4/24] Update “unable to load standard library” test (#23990)
2 parents 570d3d0 + 9a17d6b commit 052bd82

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/Misc/fatal_error.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// RUN: not %target-swift-frontend -typecheck %s -sdk "" 2>&1 | %FileCheck -check-prefix=CHECK -check-prefix=NO-MODULE %s
2-
// RUN: not %target-swift-frontend -typecheck %s -resource-dir / 2>&1 | %FileCheck -check-prefix=CHECK -check-prefix=NO-STDLIB %s
1+
// RUN: %empty-directory(%t)
2+
3+
// RUN: not %target-swift-frontend -typecheck %s -sdk %t 2>&1 | %FileCheck -check-prefix=CHECK -check-prefix=NO-MODULE %s
4+
// RUN: not %target-swift-frontend -typecheck %s -resource-dir %t -sdk %t 2>&1 | %FileCheck -check-prefix=CHECK -check-prefix=NO-STDLIB %s
35

46
// NO-MODULE: error: no such module 'NonExistent'
57

0 commit comments

Comments
 (0)