nvm 0.31.4 (#3771)

* nvm v0.31.4

* Adjust test to match new pattern

* use quotes instead of regex
This commit is contained in:
Scott Humphries 2016-08-11 19:26:32 -05:00 committed by Dominyk Tiller
parent f2eeb1c367
commit da051def8b

View file

@ -1,8 +1,8 @@
class Nvm < Formula
desc "Manage multiple Node.js versions"
homepage "https://github.com/creationix/nvm"
url "https://github.com/creationix/nvm/archive/v0.31.2.tar.gz"
sha256 "d2a3253d3ac992cd26c56cded4e014896e1d3d1a6394bac0e719c46fa90a8bb9"
url "https://github.com/creationix/nvm/archive/v0.31.4.tar.gz"
sha256 "e88a804a83c9a1b3363b83d20ac37a893e7207a8b8e8c34880765c4f90d38dd2"
head "https://github.com/creationix/nvm.git"
bottle :unneeded
@ -39,6 +39,6 @@ class Nvm < Formula
output = pipe_output("NODE_VERSION=homebrewtest #{prefix}/nvm-exec 2>&1")
assert_no_match /No such file or directory/, output
assert_no_match /nvm: command not found/, output
assert_match "N/A: version \"homebrewtest\" is not yet installed", output
assert_match "N/A: version \"N/A\" is not yet installed", output
end
end