mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 13:27:10 -07:00
Migrate reinitialization test to Cucumber.
This commit is contained in:
parent
56bc601b17
commit
0a948c81c1
6 changed files with 67 additions and 30 deletions
13
test/features/corner_cases.feature
Normal file
13
test/features/corner_cases.feature
Normal file
|
@ -0,0 +1,13 @@
|
|||
Feature: Corner Cases
|
||||
|
||||
Scenario: SDKMAN_DIR unset
|
||||
Given environment variable SDKMAN_DIR is not set
|
||||
When a new Fish shell is launched
|
||||
Then environment variable SDKMAN_DIR has the original value
|
||||
|
||||
Scenario: SDKMAN_DIR set to a location the current user can't write at
|
||||
Given environment variable SDKMAN_DIR is set to "/"
|
||||
When a new Fish shell is launched
|
||||
Then environment variable SDKMAN_DIR has the original value
|
||||
|
||||
# TODO: add test that fails if `test` in conf.d/sdk.fish:80 errors (cf issue #28 et al.)
|
Loading…
Add table
Add a link
Reference in a new issue