Skip to content

Commit

Permalink
test: added stubbed test for #3783
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 22, 2024
1 parent 53c9144 commit f79a3a4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions e2e/env/test_env_source
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ EOF

assert "mise env -s bash | grep MISE_TEST_SOURCE" "export MISE_TEST_SOURCE=1234"
assert_contains "mise env -s bash | grep PATH" "export PATH='$HOME/newbin:"

# TODO: this fails because of https://github.com/jdx/mise/blob/53c9144df8ef5d7d75f19c949be6231a05f7405a/src/config/config_file/mise_toml.rs#L838
#cat >"$MISE_CONFIG_DIR/config.toml" <<EOF
#[env]
#_.source = "{{ env.MISE_CONFIG_DIR }}/source.sh"
#_.path = [
# "/{{ env.MISE_TEST_SOURCE }}",
#]
#EOF
#assert_contains "mise env -s bash | grep PATH" "export PATH='/1234:"

0 comments on commit f79a3a4

Please sign in to comment.