Skip to content

Commit

Permalink
chore: add integration test for missing activate-hermit.fish (#428)
Browse files Browse the repository at this point in the history
Follow up test for #427. Verifies
that an otherwise valid hermit environment missing an
`activate-hermit.fish` is still considered valid.
  • Loading branch information
mightyguava authored Feb 10, 2025
1 parent 9a9737e commit b42c6fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,13 @@ func TestIntegration(t *testing.T) {
assert test "$(binary.sh)" = "Running from child"
`,
},
{
name: "MissingActivateFishShellFileIsValidEnv",
preparations: prep{fixture("testenv1"), activate(".")},
script: `
hermit validate env .
`,
},
}

checkForShells(t)
Expand Down

0 comments on commit b42c6fd

Please sign in to comment.