Skip to content

Commit

Permalink
Update style unit tests to use atoms
Browse files Browse the repository at this point in the history
Fixes test bustage from #3316.
  • Loading branch information
mbrubeck committed Sep 17, 2014
1 parent a939cc5 commit 140b000
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/style/selectors.rs
Expand Up @@ -653,8 +653,8 @@ mod tests {
assert!(parse_ns("[Foo]", &namespaces) == Ok(vec!(Selector {
compound_selectors: Arc::new(CompoundSelector {
simple_selectors: vec!(AttrExists(AttrSelector {
name: "Foo".to_string(),
lower_name: "foo".to_string(),
name: Atom::from_slice("Foo"),
lower_name: Atom::from_slice("foo"),
namespace: SpecificNamespace(namespace::Null),
})),
next: None,
Expand All @@ -668,8 +668,8 @@ mod tests {
assert!(parse_ns("[Foo]", &namespaces) == Ok(vec!(Selector {
compound_selectors: Arc::new(CompoundSelector {
simple_selectors: vec!(AttrExists(AttrSelector {
name: "Foo".to_string(),
lower_name: "foo".to_string(),
name: Atom::from_slice("Foo"),
lower_name: Atom::from_slice("foo"),
namespace: SpecificNamespace(namespace::Null),
})),
next: None,
Expand Down

0 comments on commit 140b000

Please sign in to comment.