Skip to content

Commit 74f5b39

Browse files
authored
Merge pull request #67367 from xymus/unicode-filename-force-utf8-5.9
[5.9][Test] Force unicode_filename JSON verification to use UTF-8
2 parents 6478b5f + 1a0381e commit 74f5b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ScanDependencies/unicode_filename.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %target-swift-frontend -scan-dependencies %/s %/S/Inputs/unicode_filёnamё.swift -o %t/deps.json
33

44
// Check the contents of the JSON output
5-
// RUN: %validate-json %t/deps.json &>/dev/null
5+
// RUN: env PYTHONIOENCODING=UTF-8 %validate-json < %t/deps.json
66
// RUN: %FileCheck %s < %t/deps.json
77

88
print(foo())

0 commit comments

Comments
 (0)