Add test for ghc version style
the ghc formula had an explicit version because we had trouble parsing the version from the 64-bit URL. It is working now, so add a test to ensure it isn't broken in the future. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
5d3c65f68e
commit
d3ba9723b2
@ -193,6 +193,11 @@ class VersionTests < Test::Unit::TestCase
|
||||
check 'http://www.antlr.org/download/antlr-3.4-complete.jar', '3.4'
|
||||
end
|
||||
|
||||
def check_ghc_style
|
||||
check 'http://www.haskell.org/ghc/dist/7.0.4/ghc-7.0.4-x86_64-apple-darwin.tar.bz2', '7.0.4'
|
||||
check 'http://www.haskell.org/ghc/dist/7.0.4/ghc-7.0.4-i386-apple-darwin.tar.bz2', '7.0.4'
|
||||
end
|
||||
|
||||
def test_more_versions
|
||||
check 'http://pypy.org/download/pypy-1.4.1-osx.tar.bz2', '1.4.1'
|
||||
check 'http://www.openssl.org/source/openssl-0.9.8s.tar.gz', '0.9.8s'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user