Skip to content

Commit e6bc110

Browse files
committed
Move -NOT to the beginning in tests
1 parent b081404 commit e6bc110

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/Sema/accessibility_package_inline_interface.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// RUN: %target-swift-typecheck-module-from-interface(%t/Utils.swiftinterface) -I%t
1010

1111
// RUN: %FileCheck %s -check-prefix CHECK-UTILS < %t/Utils.swiftinterface
12-
// CHECK-UTILS: -module-name Utils
1312
// CHECK-UTILS-NOT: -package-name myLib
13+
// CHECK-UTILS: -module-name Utils
1414
// CHECK-UTILS: @usableFromInline
1515
// CHECK-UTILS: package class PackageKlassProto {
1616
// CHECK-UTILS: @usableFromInline

test/Sema/accessibility_package_interface.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111

1212
// RUN: %target-swift-typecheck-module-from-interface(%t/Utils.swiftinterface) -I %t
1313
// RUN: %FileCheck %s --check-prefix=CHECK-PUBLIC < %t/Utils.swiftinterface
14-
// CHECK-PUBLIC: -module-name Utils
1514
// CHECK-PUBLIC-NOT: -package-name swift-utils.log
16-
// CHECK-PUBLIC: public func publicFunc()
1715
// CHECK-PUBLIC-NOT: package func packageFunc()
16+
// CHECK-PUBLIC: -module-name Utils
17+
// CHECK-PUBLIC: public func publicFunc()
1818

1919
// RUN: %target-swift-typecheck-module-from-interface(%t/Utils.private.swiftinterface) -module-name Utils -I %t
2020
// RUN: %FileCheck %s --check-prefix=CHECK-PRIVATE < %t/Utils.private.swiftinterface
2121

22+
// CHECK-PRIVATE-NOT: package func packageFunc()
2223
// CHECK-PRIVATE: swift-module-flags-ignorable-private: -package-name swift-utils.log
2324
// CHECK-PRIVATE: public func publicFunc()
24-
// CHECK-PRIVATE-NOT: package func packageFunc()
2525

2626
// RUN: %target-swift-frontend -typecheck %t/Client.swift -package-name swift-utils.log -I %t -verify
2727

0 commit comments

Comments
 (0)