mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Fix style unit tests
This commit is contained in:
parent
6ca2c7ba77
commit
b0c50d8219
2 changed files with 5 additions and 2 deletions
|
@ -237,7 +237,9 @@ class MachCommands(CommandBase):
|
||||||
|
|
||||||
if features:
|
if features:
|
||||||
args += ["--features", "%s" % ' '.join(features)]
|
args += ["--features", "%s" % ' '.join(features)]
|
||||||
return call(args, env=env, cwd=self.servo_crate())
|
err = call(args, env=env, cwd=self.servo_crate())
|
||||||
|
if err is not 0:
|
||||||
|
return err
|
||||||
|
|
||||||
# Run style tests with the testing feature
|
# Run style tests with the testing feature
|
||||||
if has_style:
|
if has_style:
|
||||||
|
|
|
@ -421,7 +421,8 @@ mod shorthand_serialization {
|
||||||
|
|
||||||
let position = DeclaredValue::Value(ListStylePosition::inside);
|
let position = DeclaredValue::Value(ListStylePosition::inside);
|
||||||
let image = DeclaredValue::Value(ListStyleImage::Url(
|
let image = DeclaredValue::Value(ListStyleImage::Url(
|
||||||
Url::parse("http://servo/test.png").unwrap()
|
Url::parse("http://servo/test.png").unwrap(),
|
||||||
|
UrlExtraData {},
|
||||||
));
|
));
|
||||||
let style_type = DeclaredValue::Value(ListStyleType::disc);
|
let style_type = DeclaredValue::Value(ListStyleType::disc);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue