Skip to content

Commit

Permalink
cabal-install: add test.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Oct 3, 2013
1 parent c72b8a1 commit 7eb1d02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/cabal-install.rb
Expand Up @@ -29,4 +29,8 @@ def install
bin.install "bin/cabal"
bash_completion.install 'bash-completion/cabal'
end

test do
system "#{bin}/cabal", "--config-file=#{testpath}/config", 'info', 'cabal'
end
end

0 comments on commit 7eb1d02

Please sign in to comment.