summaryrefslogtreecommitdiffstats
path: root/src/modules/python.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/python.rs')
-rw-r--r--src/modules/python.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/python.rs b/src/modules/python.rs
index d22e8fe4d..d2b3cdec6 100644
--- a/src/modules/python.rs
+++ b/src/modules/python.rs
@@ -424,7 +424,7 @@ prompt = '(foo)'
dir.close()
}
- fn check_python2_renders(dir: &tempfile::TempDir, starship_config: Option<toml::Value>) {
+ fn check_python2_renders(dir: &tempfile::TempDir, starship_config: Option<toml::Table>) {
let config = starship_config.unwrap_or(toml::toml! {
[python]
python_binary = "python2"
@@ -439,7 +439,7 @@ prompt = '(foo)'
assert_eq!(expected, actual);
}
- fn check_python3_renders(dir: &tempfile::TempDir, starship_config: Option<toml::Value>) {
+ fn check_python3_renders(dir: &tempfile::TempDir, starship_config: Option<toml::Table>) {
let config = starship_config.unwrap_or(toml::toml! {
[python]
python_binary = "python3"
@@ -456,7 +456,7 @@ prompt = '(foo)'
fn check_multiple_binaries_renders(
dir: &tempfile::TempDir,
- starship_config: Option<toml::Value>,
+ starship_config: Option<toml::Table>,
) {
let config = starship_config.unwrap_or(toml::toml! {
[python]
@@ -472,7 +472,7 @@ prompt = '(foo)'
assert_eq!(expected, actual);
}
- fn check_pyenv_renders(dir: &tempfile::TempDir, starship_config: Option<toml::Value>) {
+ fn check_pyenv_renders(dir: &tempfile::TempDir, starship_config: Option<toml::Table>) {
let config = starship_config.unwrap_or(toml::toml! {
[python]
pyenv_version_name = true