style: Remove a unit test that relies on disabled-by-default properties.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-20 13:54:41 +01:00
parent 4d7383f4f3
commit 4c979a8346
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -559,22 +559,6 @@ mod shorthand_serialization {
}
}
#[test]
fn columns_should_serialize_correctly() {
use style::values::{Auto, Either};
let mut properties = Vec::new();
let width = Either::Second(Auto);
let count = Either::Second(Auto);
properties.push(PropertyDeclaration::ColumnWidth(width));
properties.push(PropertyDeclaration::ColumnCount(count));
let serialization = shorthand_properties_to_string(properties);
assert_eq!(serialization, "columns: auto auto;");
}
#[test]
fn flex_should_serialize_all_available_properties() {
use style::values::specified::{NonNegativeNumber, Percentage};