Add test for empty css file check
This commit is contained in:
parent
cfd754d892
commit
165a95b371
1 changed files with 6 additions and 0 deletions
|
|
@ -366,4 +366,10 @@ a {
|
|||
get_differences(&other, &against, &mut ret);
|
||||
assert_eq!(ret, vec![" Missing \"c\" rule".to_owned()]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn check_empty_css() {
|
||||
let events = load_css_events(&[]);
|
||||
assert_eq!(events.len(), 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue