mirror of
https://github.com/IlanCosman/tide.git
synced 2024-10-27 02:59:36 +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
19 lines
259 B
Fish
19 lines
259 B
Fish
# RUN: %fish %s
|
|
|
|
function _go
|
|
_tide_decolor (_tide_item_go)
|
|
end
|
|
|
|
set -l goDir (mktemp -d)
|
|
cd $goDir
|
|
|
|
mock go version "echo go version go1.16.5 linux/amd64"
|
|
set -lx tide_go_icon
|
|
|
|
_go # CHECK:
|
|
|
|
touch go.mod
|
|
_go # CHECK: 1.16.5
|
|
|
|
command rm -r $goDir
|