1RUN: apinotes-test %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes > %t.result
2RUN: not diff -b %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes %t.result | FileCheck %s
3
4Avoid Windows as the diff output differs due to line-endings and different diff
5implementations.
6UNSUPPORTED: system-windows
7
8We expect only the nullability to be different as it is canonicalized during the
9roudtrip.
10
11CHECK:      7c8
12CHECK-NEXT: <         Nullability:     N
13CHECK-NEXT: ---
14CHECK-NEXT: >         Nullability:     Nonnull
15CHECK-NEXT: 13c14
16CHECK-NEXT: <         Nullability:     O
17CHECK-NEXT: ---
18CHECK-NEXT: >         Nullability:     Optional
19CHECK-NEXT: 19c20
20CHECK-NEXT: <         Nullability:     U
21CHECK-NEXT: ---
22CHECK-NEXT: >         Nullability:     Unspecified
23CHECK-NEXT: 25c26
24CHECK-NEXT: <         Nullability:     S
25CHECK-NEXT: ---
26CHECK-NEXT: >         Nullability:     Unspecified
27CHECK-NEXT: 28c29,30
28CHECK-NEXT: <         Nullability:     Scalar
29CHECK-NEXT: ---
30CHECK-NEXT: >         Nullability:     Unspecified
31