Skip to content

Commit 9143bd4

Browse files
committed
Update test
1 parent 7a3a032 commit 9143bd4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/Frontend/module-alias-dump-ast.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99
// RUN: %target-swift-frontend -module-name AppleLogging -module-alias XLogging=AppleLogging %t/FileLogging.swift -emit-module -emit-module-path %t/AppleLogging.swiftmodule
1010
// RUN: test -f %t/AppleLogging.swiftmodule
1111

12-
/// Verify AST contains XLogging, not AppleLogging
12+
/// Verify AST contains AppleLogging as module name
1313
// RUN: %target-swift-frontend -dump-ast %t/FileLib.swift -module-alias XLogging=AppleLogging -I %t > %t/result-ast.output
1414

1515
// RUN: %FileCheck %s -input-file %t/result-ast.output -check-prefix CHECK-AST
1616
// CHECK-AST: XLogging
17-
// RUN: not %FileCheck %s -input-file %t/result-ast.output -check-prefix CHECK-NOT-AST
18-
// CHECK-NOT-AST: AppleLogging
17+
// CHECK-AST: module<AppleLogging>
1918

2019

2120
// BEGIN FileLogging.swift

0 commit comments

Comments
 (0)