fix: Separate Python version string and env name (#548)

This commit is contained in:
Nguyễn Hồng Quân
2019-10-17 16:55:48 +07:00
committed by Matan Kushner
parent e2e7277630
commit 27fad02837
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ fn with_virtual_env() -> io::Result<()> {
.output()?;
let actual = String::from_utf8(output.stdout).unwrap();
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4(my_venv)"));
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4 (my_venv)"));
assert_eq!(expected, actual);
Ok(())
}