File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ struct Fail {
2828}
2929
3030#[ test]
31- #[ should_panic( expected = "250 test cases failed! (256497 passed)" ) ]
31+ #[ should_panic( expected = "314 test cases failed! (256433 passed)" ) ]
3232fn test_basic_conformance ( ) {
3333 let test_data = include_str ! ( "data/BidiTest.txt" ) ;
3434
@@ -254,29 +254,29 @@ fn get_sample_string_from_bidi_classes(class_names: &[&str]) -> String {
254254/// TODO: Auto-gen in tables.rs ?
255255fn gen_char_from_bidi_class ( class_name : & str ) -> char {
256256 match class_name {
257- "AL" => '\u{060b }' ,
257+ "AL" => '\u{060B }' ,
258258 "AN" => '\u{0605}' ,
259- "B" => '\u{000a }' ,
260- "BN" => '\u{0000 }' ,
261- "CS" => '\u{002c }' ,
262- "EN" => '\u{0039 }' ,
263- "ES" => '\u{002b }' ,
264- "ET" => '\u{0023 }' ,
259+ "B" => '\u{000A }' ,
260+ "BN" => '\u{2060 }' ,
261+ "CS" => '\u{2044 }' ,
262+ "EN" => '\u{06F9 }' ,
263+ "ES" => '\u{208B }' ,
264+ "ET" => '\u{20CF }' ,
265265 "FSI" => format_chars:: FSI ,
266- "L" => '\u{0041 }' ,
266+ "L" => '\u{02B8 }' ,
267267 "LRE" => format_chars:: LRE ,
268268 "LRI" => format_chars:: LRI ,
269269 "LRO" => format_chars:: LRO ,
270270 "NSM" => '\u{0300}' ,
271- "ON" => '\u{0021 }' ,
271+ "ON" => '\u{03F6 }' ,
272272 "PDF" => format_chars:: PDF ,
273273 "PDI" => format_chars:: PDI ,
274274 "R" => '\u{0590}' ,
275275 "RLE" => format_chars:: RLE ,
276276 "RLI" => format_chars:: RLI ,
277277 "RLO" => format_chars:: RLO ,
278- "S" => '\u{0009 }' ,
279- "WS" => '\u{000c }' ,
278+ "S" => '\u{001F }' ,
279+ "WS" => '\u{200A }' ,
280280 & _ => panic ! ( "Invalid Bidi_Class name: {}" , class_name) ,
281281 }
282282}
You can’t perform that action at this time.
0 commit comments