Skip to content

Commit 4205446

Browse files
authored
Merge pull request #61568 from artemcm/AddMissingRunToConstExtractionTest
Add missing FileCheck invocatoin to 'test/ConstExtraction/fields.swift'
2 parents 0f48feb + 51735a8 commit 4205446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ConstExtraction/fields.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// RUN: echo "[MyProto]" > %t/inputs/protocols.json
44

55
// 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
67

78
// CHECK: [
8-
// CHECK-NEXT:
99
// CHECK-NEXT: {
1010
// CHECK-NEXT: "typeName": "fields.Foo",
1111
// CHECK-NEXT: "kind": "struct",
@@ -15,7 +15,7 @@
1515
// CHECK-NEXT: "type": "Swift.String",
1616
// CHECK-NEXT: "isStatic": "false",
1717
// CHECK-NEXT: "isComputed": "false",
18-
// CHECK-NEXT: "value": "Hello, World"
18+
// CHECK-NEXT: "value": "\"Hello, World\""
1919
// CHECK-NEXT: },
2020
// CHECK-NEXT: {
2121
// CHECK-NEXT: "label": "p5",

0 commit comments

Comments
 (0)