File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 26b54cc17e13e3d784d3f25bdbe500ec18cefd7b
2
+ refs/heads/master: 771177a8142d3cb1d431c71b80f4b9b20ac35339
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -1687,10 +1687,9 @@ mod tests {
1687
1687
#[ test]
1688
1688
fn test_to_upper ( ) {
1689
1689
// 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
1694
1693
let input = "abcDEF" + unicode + "xyz:.;" ;
1695
1694
let expected = "ABCDEF" + unicode + "XYZ:.;" ;
1696
1695
let actual = to_upper ( input) ;
You can’t perform that action at this time.
0 commit comments