Skip to content

Commit

Permalink
docs: fix typos again (jdx#2446)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng authored and triarius committed Sep 18, 2024
1 parent 466dc9e commit a805449
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion e2e/run_test
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ setup_isolated_env() {
}

create_isolated_env() {
# Create the required diretories
# Create the required directories
mkdir -p "$TEST_HOME/bin" "$TEST_WORKDIR" "$TEST_TMPDIR" "$MISE_SYSTEM_DIR" "$MISE_DATA_DIR" "$MISE_STATE_DIR" "$MISE_CACHE_DIR" "$MISE_CONFIG_DIR"

# The dummy plugin is required for some tests
Expand Down
2 changes: 1 addition & 1 deletion packaging/standalone/install.envsubst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ get_checksum() {
arch="$(get_arch)"
url="https://github.com/jdx/mise/releases/download/${version}/SHASUMS256.txt"

# For current version use static checksum otherwize
# For current version use static checksum otherwise
# use checksum from releases
if [ "$version" = "$MISE_CURRENT_VERSION" ]; then
checksum_linux_x86_64="$MISE_CHECKSUM_LINUX_X86_64"
Expand Down
6 changes: 3 additions & 3 deletions tests/cli/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn test_exec_change_directory() -> Result<()> {
.with_home_files([CONFIGS.get(".tool-versions")])
.build()?;

let tool_verisons_path = env.home_path().join(".tool-versions");
let tool_versions_path = env.home_path().join(".tool-versions");

// Given default settings
// When `mise global node 20.0.0` is run
Expand Down Expand Up @@ -41,7 +41,7 @@ fn test_exec_change_directory() -> Result<()> {
env.mise()
.unset_env("MISE_GLOBAL_CONFIG_FILE")
.unset_env("MISE_CONFIG_FILE")
.env("MISE_CONFIG_FILE", &tool_verisons_path)
.env("MISE_CONFIG_FILE", &tool_versions_path)
.args(["global", "node", "20.0.0"])
.run()?
.stdout(predicate::str::contains("~/.tool-versions"))
Expand All @@ -53,7 +53,7 @@ fn test_exec_change_directory() -> Result<()> {
env.mise()
.unset_env("MISE_GLOBAL_CONFIG_FILE")
.unset_env("MISE_CONFIG_FILE")
.env("MISE_GLOBAL_CONFIG_FILE", tool_verisons_path)
.env("MISE_GLOBAL_CONFIG_FILE", tool_versions_path)
.args(["global", "node", "20.0.0"])
.run()?
.stdout(predicate::str::contains("~/.tool-versions"))
Expand Down
4 changes: 2 additions & 2 deletions tests/cli/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn test_nodejs() -> Result<()> {
.run()?
.success();

// When node@lts/hydrogen is insalled
// When node@lts/hydrogen is installed
// Mise should succeed
env.mise()
.env(
Expand Down Expand Up @@ -211,7 +211,7 @@ fn python_config_fixture() -> File {
// From e2e/test_python
#[test]
#[ignore]
fn test_python_complie() -> Result<()> {
fn test_python_compile() -> Result<()> {
mise! {
given_environment!(has_exported_var "MISE_ALL_COMPILE", "1");
when!(
Expand Down

0 comments on commit a805449

Please sign in to comment.