mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Thread ParseError return values through CSS parsing.
This commit is contained in:
parent
58e39bfffa
commit
27ae1ef2e7
121 changed files with 2133 additions and 1505 deletions
|
@ -143,13 +143,13 @@ fn border_image_shorthand_should_parse_with_just_source() {
|
|||
#[test]
|
||||
fn border_image_outset_should_error_on_negative_length() {
|
||||
let result = parse(border_image_outset::parse, "-1em");
|
||||
assert_eq!(result, Err(()));
|
||||
assert!(result.is_err());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn border_image_outset_should_error_on_negative_number() {
|
||||
let result = parse(border_image_outset::parse, "-15");
|
||||
assert_eq!(result, Err(()));
|
||||
assert!(result.is_err());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue