Skip to content

Commit

Permalink
glide: improve coding style of test (#4784)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmwangx committed Sep 13, 2016
1 parent 1f8d627 commit ec3ae89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Formula/glide.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ def install
end

test do
version = pipe_output("#{bin}/glide --version")
assert_match version.to_s, version
assert_match version.to_s, shell_output("#{bin}/glide --version")
system bin/"glide", "create", "--non-interactive", "--skip-import"
assert File.exist?("glide.yaml")
end
Expand Down

0 comments on commit ec3ae89

Please sign in to comment.