mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Cleanup (unused function; formatting)
GitOrigin-RevId: 5d2afc92c199f066b2b6891c19eac9ba8e98d4f3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
47027cf16c
commit
0ff8dec366
@@ -95,7 +95,7 @@ pub fn download_cef(version: &str, platform: &str, working_dir: &Path) -> Result
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
fn download_to_file(client: &Client, src: &str, dest: &Path) -> Result<()> {
|
||||
fs_remove(dest)?;
|
||||
fs_remove(dest)?;
|
||||
|
||||
trace!("Downloading {src} to {dest:?}");
|
||||
let mut response = client.get(src).send()?.error_for_status()?;
|
||||
|
||||
@@ -144,6 +144,7 @@ mod tests {
|
||||
check_env_variable(&test, &env, "INTELLIJ_ORIGINAL_ENV_FONTCONFIG_PATH", "/some/existing/path".to_string());
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn check_env_variable(test: &TestEnvironment, env: &HashMap<&str, &str>, variable_name: &str, expected_value: String) {
|
||||
let remote_dev_command = &["printEnvVar", variable_name];
|
||||
let launch_result = run_launcher_ext(&test, LauncherRunSpec::remote_dev().with_env(env).with_args(remote_dev_command));
|
||||
|
||||
Reference in New Issue
Block a user