Skip to content

Commit f423010

Browse files
committed
---
yaml --- r: 11898 b: refs/heads/master c: 771177a h: refs/heads/master v: v3
1 parent d87f23a commit f423010

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 26b54cc17e13e3d784d3f25bdbe500ec18cefd7b
2+
refs/heads/master: 771177a8142d3cb1d431c71b80f4b9b20ac35339
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libcore/str.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,10 +1687,9 @@ mod tests {
16871687
#[test]
16881688
fn test_to_upper() {
16891689
// char::to_upper, and hence str::to_upper
1690-
// are culturally insensitive: I'm not sure they
1691-
// really work for anything but English ASCII, but YMMV
1692-
1693-
let unicode = "\u65e5\u672c";
1690+
// are culturally insensitive: they only work for ASCII
1691+
// (see Issue #1985)
1692+
let unicode = ""; //"\u65e5\u672c"; // uncomment once non-ASCII works
16941693
let input = "abcDEF" + unicode + "xyz:.;";
16951694
let expected = "ABCDEF" + unicode + "XYZ:.;";
16961695
let actual = to_upper(input);

0 commit comments

Comments
 (0)