Skip to content

Commit

Permalink
ttyplot 1.5.1
Browse files Browse the repository at this point in the history
ttyplot: update test

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
Porkepix authored and chenrui333 committed Nov 9, 2023
1 parent 71a7c7a commit f47ddb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/t/ttyplot.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Ttyplot < Formula
desc "Realtime plotting utility for terminal with data input from stdin"
homepage "https://github.com/tenox7/ttyplot"
url "https://github.com/tenox7/ttyplot/archive/refs/tags/1.5.tar.gz"
sha256 "c494c31e7808a6e3bf8e3c399024b9aeb7d77967db6008a62d110ad9ed1b8bec"
url "https://github.com/tenox7/ttyplot/archive/refs/tags/1.5.1.tar.gz"
sha256 "5c170be08df3a7dad983994ed36d99c257f5a36c4dfa7ee7099393895ce82095"
license "Apache-2.0"

bottle do
Expand All @@ -27,6 +27,6 @@ def install

test do
# `ttyplot` writes directly to the TTY, and doesn't stop even when stdin is closed.
system "#{bin}/ttyplot", "--help"
assert_match "unit displayed beside vertical bar", shell_output("#{bin}/ttyplot -h")
end
end

0 comments on commit f47ddb3

Please sign in to comment.