We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f48feb + 51735a8 commit 4205446Copy full SHA for 4205446
test/ConstExtraction/fields.swift
@@ -3,9 +3,9 @@
3
// RUN: echo "[MyProto]" > %t/inputs/protocols.json
4
5
// RUN: %target-swift-frontend -typecheck -emit-const-values-path %t/fields.swiftconstvalues -const-gather-protocols-file %t/inputs/protocols.json -primary-file %s
6
+// RUN: cat %t/fields.swiftconstvalues 2>&1 | %FileCheck %s
7
8
// CHECK: [
-// CHECK-NEXT:
9
// CHECK-NEXT: {
10
// CHECK-NEXT: "typeName": "fields.Foo",
11
// CHECK-NEXT: "kind": "struct",
@@ -15,7 +15,7 @@
15
// CHECK-NEXT: "type": "Swift.String",
16
// CHECK-NEXT: "isStatic": "false",
17
// CHECK-NEXT: "isComputed": "false",
18
-// CHECK-NEXT: "value": "Hello, World"
+// CHECK-NEXT: "value": "\"Hello, World\""
19
// CHECK-NEXT: },
20
21
// CHECK-NEXT: "label": "p5",
0 commit comments