We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb660d commit de1336bCopy full SHA for de1336b
plotly_static/src/macos_tests.rs
@@ -4,7 +4,7 @@ mod macos_tests {
4
use std::path::Path;
5
use std::process::Command;
6
7
- use super::{StaticExporterBuilder, ImageFormat};
+ use crate::{StaticExporterBuilder, ImageFormat};
8
9
/// Test that Google Chrome is installed and accessible
10
#[test]
@@ -27,7 +27,8 @@ mod macos_tests {
27
// Try to find Chrome using 'which' command
28
if let Ok(output) = Command::new("which").arg("google-chrome").output() {
29
if output.status.success() {
30
- let path = String::from_utf8_lossy(&output.stdout).trim();
+ let lossied = String::from_utf8_lossy(&output.stdout);
31
+ let path = lossied.trim();
32
println!("Found Chrome via 'which': {}", path);
33
chrome_found = true;
34
}
0 commit comments