Skip to content

Commit de1336b

Browse files
committed
fix temp ci macos test
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent acb660d commit de1336b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plotly_static/src/macos_tests.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mod macos_tests {
44
use std::path::Path;
55
use std::process::Command;
66

7-
use super::{StaticExporterBuilder, ImageFormat};
7+
use crate::{StaticExporterBuilder, ImageFormat};
88

99
/// Test that Google Chrome is installed and accessible
1010
#[test]
@@ -27,7 +27,8 @@ mod macos_tests {
2727
// Try to find Chrome using 'which' command
2828
if let Ok(output) = Command::new("which").arg("google-chrome").output() {
2929
if output.status.success() {
30-
let path = String::from_utf8_lossy(&output.stdout).trim();
30+
let lossied = String::from_utf8_lossy(&output.stdout);
31+
let path = lossied.trim();
3132
println!("Found Chrome via 'which': {}", path);
3233
chrome_found = true;
3334
}

0 commit comments

Comments
 (0)