browserslist/queries/
op_mini.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use super::{Distrib, QueryResult};

pub(super) fn op_mini() -> QueryResult {
    Ok(vec![Distrib::new("op_mini", "all")])
}

#[cfg(test)]
mod tests {
    use crate::{opts::Opts, test::run_compare};
    use test_case::test_case;

    #[test_case("op_mini all"; "short")]
    #[test_case("Op_Mini All"; "short case insensitive")]
    #[test_case("operamini all"; "long")]
    #[test_case("OperaMini All"; "long case insensitive")]
    #[test_case("op_mini    all"; "more spaces")]
    fn valid(query: &str) {
        run_compare(query, &Opts::new());
    }
}