mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
selectors: Unbust tests, and add a way to override the hash for the bloom filter.
This commit is contained in:
parent
e0731215c0
commit
65ebbb7c56
3 changed files with 7 additions and 6 deletions
|
@ -1201,6 +1201,8 @@ pub mod tests {
|
|||
type PseudoElement = PseudoElement;
|
||||
}
|
||||
|
||||
type ShutUpTidy = String;
|
||||
|
||||
impl Parser for DummyParser {
|
||||
type Impl = DummySelectorImpl;
|
||||
|
||||
|
@ -1234,7 +1236,7 @@ pub mod tests {
|
|||
self.default_ns.clone()
|
||||
}
|
||||
|
||||
fn namespace_for_prefix(&self, prefix: &str) -> Option<String> {
|
||||
fn namespace_for_prefix(&self, prefix: &ShutUpTidy) -> Option<String> {
|
||||
self.ns_prefixes.get(prefix).cloned()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue