mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Comment out the text run test that causes ICE at compile time. Workaround for Rust Issue #3592
This commit is contained in:
parent
1f7c5caa43
commit
b6abccc2bf
1 changed files with 5 additions and 2 deletions
|
@ -233,16 +233,19 @@ fn test_split2() {
|
|||
assert break_runs.second().text == ~"yum yum yum yum yum";
|
||||
}
|
||||
|
||||
/* Causes ICE during compilation. See Rust Issue #3592 */
|
||||
/*
|
||||
#[test]
|
||||
fn test_split3() {
|
||||
let flib = FontCache();
|
||||
let font = flib.get_test_font();
|
||||
let run = TextRun(font, ~"firecracker firecracker");
|
||||
let break_runs = run.split(font, run.min_break_width() + au::from_px(10));
|
||||
let px = au::from_px(10);
|
||||
let break_runs = run.split(font, run.min_break_width() + px);
|
||||
assert break_runs.first().text == ~"firecracker";
|
||||
assert break_runs.second().text == ~"firecracker";
|
||||
|
||||
}
|
||||
}*/
|
||||
|
||||
#[test]
|
||||
#[ignore(cfg(target_os = "macos"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue