mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add error for invalid SDKNodeKind
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
// REQUIRES: OS=macosx
|
||||
// RUN: not %api-digester -deserialize-sdk -input-paths %S/diagnostics.json -o - 2>&1 | %FileCheck %s
|
||||
|
||||
// CHECK: diagnostics.json:6:3: error: unrecognized key 'badKey' in SDK node
|
||||
// CHECK: diagnostics.json:5:3: error: unrecognized key 'badKey' in SDK node
|
||||
// CHECK: diagnostics.json:7:15: error: unrecognized SDK node kind 'Zyzyx'
|
||||
|
||||
// Make sure we don't try to output a result:
|
||||
// CHECK-NOT: "kind": "Root",
|
||||
|
||||
Reference in New Issue
Block a user