franciscolourenco / done

A fish-shell package to automatically receive notifications when long processes finish.
MIT License
779 stars 71 forks source link

Question about test file #53

Closed ammgws closed 4 years ago

ammgws commented 4 years ago

The file at test/done.fish doesn't appear to contain valid fish syntax where the test function is used, is this on purpose?

function setup
  source conf.d/done.fish
end

test "command are executed without errors"
  0 -eq (echo 1 > /dev/null; echo $status)
end

Output:

/t/d/test >>> fish done.fish done.fish (line 7): 'end' outside of a block end ^

fish: Error while reading file done.fish
franciscolourenco commented 4 years ago

The tests are run with https://github.com/jorgebucaran/fishtape The syntax seems to be outdated