mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
pass new bool value on other platforms
This commit is contained in:
@@ -134,7 +134,7 @@ mod tests {
|
|||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
#[test]
|
#[test]
|
||||||
fn returns_all_known_importers() {
|
fn returns_all_known_importers() {
|
||||||
let map = get_supported_importers::<MockInstalledBrowserRetriever>();
|
let map = get_supported_importers::<MockInstalledBrowserRetriever>(false);
|
||||||
|
|
||||||
let expected: HashSet<String> = HashSet::from([
|
let expected: HashSet<String> = HashSet::from([
|
||||||
"chromecsv".to_string(),
|
"chromecsv".to_string(),
|
||||||
@@ -155,7 +155,7 @@ mod tests {
|
|||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
#[test]
|
#[test]
|
||||||
fn linux_specific_loaders_match_const_array() {
|
fn linux_specific_loaders_match_const_array() {
|
||||||
let map = get_supported_importers::<MockInstalledBrowserRetriever>();
|
let map = get_supported_importers::<MockInstalledBrowserRetriever>(false);
|
||||||
let ids = ["chromecsv", "chromiumcsv", "bravecsv", "operacsv"];
|
let ids = ["chromecsv", "chromiumcsv", "bravecsv", "operacsv"];
|
||||||
|
|
||||||
for id in ids {
|
for id in ids {
|
||||||
@@ -168,7 +168,7 @@ mod tests {
|
|||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
#[test]
|
#[test]
|
||||||
fn returns_all_known_importers() {
|
fn returns_all_known_importers() {
|
||||||
let map = get_supported_importers::<MockInstalledBrowserRetriever>();
|
let map = get_supported_importers::<MockInstalledBrowserRetriever>(false);
|
||||||
|
|
||||||
let expected: HashSet<String> = HashSet::from([
|
let expected: HashSet<String> = HashSet::from([
|
||||||
"bravecsv".to_string(),
|
"bravecsv".to_string(),
|
||||||
@@ -191,7 +191,7 @@ mod tests {
|
|||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
#[test]
|
#[test]
|
||||||
fn windows_specific_loaders_match_const_array() {
|
fn windows_specific_loaders_match_const_array() {
|
||||||
let map = get_supported_importers::<MockInstalledBrowserRetriever>();
|
let map = get_supported_importers::<MockInstalledBrowserRetriever>(false);
|
||||||
let ids = [
|
let ids = [
|
||||||
"bravecsv",
|
"bravecsv",
|
||||||
"chromecsv",
|
"chromecsv",
|
||||||
|
|||||||
Reference in New Issue
Block a user