mirror of
https://github.com/servo/servo.git
synced 2025-09-06 21:18:20 +01:00
Fix the unit tests to make use of local ToCss
This commit is contained in:
parent
6061985898
commit
5ac1c11e9e
8 changed files with 20 additions and 15 deletions
|
@ -9,6 +9,7 @@ use style::properties::longhands::font_feature_settings;
|
|||
use style::properties::longhands::font_feature_settings::computed_value;
|
||||
use style::properties::longhands::font_feature_settings::computed_value::FeatureTagValue;
|
||||
use style::stylesheets::Origin;
|
||||
use style_traits::ToCss;
|
||||
use url::Url;
|
||||
|
||||
#[test]
|
||||
|
@ -100,7 +101,7 @@ fn font_language_override_should_parse_properly() {
|
|||
#[test]
|
||||
#[should_panic]
|
||||
fn font_language_override_should_fail_on_empty_str() {
|
||||
use style::properties::longhands::font_language_override::{self, SpecifiedValue};
|
||||
use style::properties::longhands::font_language_override;
|
||||
|
||||
parse_longhand!(font_language_override, "");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue