Comment out the text run test that causes ICE at compile time. Workaround for Rust Issue #3592

This commit is contained in:
Brian J. Burg 2012-10-03 14:33:07 -07:00
parent 1f7c5caa43
commit b6abccc2bf

View file

@ -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"))]