diff options
author | Brian J. Burg <burg@cs.washington.edu> | 2012-10-03 14:33:07 -0700 |
---|---|---|
committer | Brian J. Burg <burg@cs.washington.edu> | 2012-10-03 15:14:29 -0700 |
commit | b6abccc2bf7a02fc74bbed6e085a6391a45ca52e (patch) | |
tree | ca7aff2c1dc2d4b8a2a4c8661316b4cb8acd6db4 /src | |
parent | 1f7c5caa4308ab2bf2a26b91b7f9fb91423bb04a (diff) | |
download | servo-b6abccc2bf7a02fc74bbed6e085a6391a45ca52e.tar.gz servo-b6abccc2bf7a02fc74bbed6e085a6391a45ca52e.zip |
Comment out the text run test that causes ICE at compile time. Workaround for Rust Issue #3592
Diffstat (limited to 'src')
-rw-r--r-- | src/servo/text/text_run.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/servo/text/text_run.rs b/src/servo/text/text_run.rs index 45d56a2ceaa..bdbba729864 100644 --- a/src/servo/text/text_run.rs +++ b/src/servo/text/text_run.rs @@ -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"))] |