Skip to content

Commit 4be543e

Browse files
committed
1 parent a1ba156 commit 4be543e

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"license": "MIT",
55
"repository": "https://github.com/browserslist/browserslist-rs",
66
"devDependencies": {
7-
"browserslist": "^4.25.0"
7+
"browserslist": "^4.25.1"
88
}
99
}

src/queries/firefox_esr.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
use super::{Distrib, QueryResult};
22

33
pub(super) fn firefox_esr() -> QueryResult {
4-
Ok(vec![Distrib::new("firefox", "128")])
4+
Ok(vec![
5+
Distrib::new("firefox", "128"),
6+
Distrib::new("firefox", "140"),
7+
])
58
}
69

710
#[cfg(test)]

src/test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ pub fn run_compare(query: &str, opts: &Opts, cwd: Option<&Path>) {
3636
.map(|d| d.to_string())
3737
.collect::<Vec<_>>();
3838

39-
assert_eq!(expected.len(), actual.len());
39+
if expected.len().max(actual.len()) > 12 {
40+
assert_eq!(expected.len(), actual.len());
41+
}
4042
assert_eq!(expected, actual);
4143
}
4244

0 commit comments

Comments
 (0)