tide/tests/_tide_item_go.test.fish
2022-09-05 12:56:50 -04:00

20 lines
277 B
Fish

# RUN: %fish %s
_tide_parent_dirs
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