mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-24 12:33:34 +03:00
13fa55ef10
* Update rm to /bin/rm in tests
* Fix check regex in time item test
* Revert "Fix check regex in time item test"
This reverts commit edb871f8ba
.
* Update /bin/rm to command rm in tests
20 lines
337 B
Fish
20 lines
337 B
Fish
# RUN: %fish %s
|
|
|
|
function _terraform
|
|
_tide_decolor (_tide_item_terraform)
|
|
end
|
|
|
|
set -l terraformDir (mktemp -d)
|
|
cd $terraformDir
|
|
|
|
mock terraform "workspace show" "echo default"
|
|
_terraform # CHECK:
|
|
|
|
mkdir .terraform
|
|
_terraform # CHECK:
|
|
|
|
mock terraform "workspace show" "echo test"
|
|
_terraform # CHECK: test
|
|
|
|
command rm -r $terraformDir
|