mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-23 08:46:51 +03:00
740904fe6a
* isolate tests * add Makefile * Makefile edits Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
19 lines
251 B
Fish
19 lines
251 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
|
|
|
|
rm -r $goDir
|