mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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";
|
assert break_runs.second().text == ~"yum yum yum yum yum";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Causes ICE during compilation. See Rust Issue #3592 */
|
||||||
|
/*
|
||||||
#[test]
|
#[test]
|
||||||
fn test_split3() {
|
fn test_split3() {
|
||||||
let flib = FontCache();
|
let flib = FontCache();
|
||||||
let font = flib.get_test_font();
|
let font = flib.get_test_font();
|
||||||
let run = TextRun(font, ~"firecracker firecracker");
|
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.first().text == ~"firecracker";
|
||||||
assert break_runs.second().text == ~"firecracker";
|
assert break_runs.second().text == ~"firecracker";
|
||||||
|
|
||||||
}
|
}*/
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore(cfg(target_os = "macos"))]
|
#[ignore(cfg(target_os = "macos"))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue