Skip to content

Commit

Permalink
ox 0.6.8
Browse files Browse the repository at this point in the history
ox: update test

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Oct 24, 2024
1 parent 80fd2a2 commit 01b14cc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Formula/o/ox.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Ox < Formula
desc "Independent Rust text editor that runs in your terminal"
homepage "https://github.com/curlpipe/ox"
url "https://github.com/curlpipe/ox/archive/refs/tags/0.6.7.tar.gz"
sha256 "cfed456ebe31dbe5fd13fc87ec4cb7e24d8b989f5878e14963c0a534ca5259e7"
url "https://github.com/curlpipe/ox/archive/refs/tags/0.6.8.tar.gz"
sha256 "b9abee1d63057df8417968751c7a9fb57420a3c03cdeac26f19b598df0face32"
license "GPL-2.0-only"
head "https://github.com/curlpipe/ox.git", branch: "master"

Expand All @@ -22,9 +22,14 @@ def install
end

test do
assert_match version.to_s, shell_output("#{bin}/ox --version")

# Errno::EIO: Input/output error @ io_fread - /dev/pts/0
return if OS.linux? && ENV["HOMEBREW_GITHUB_ACTIONS"].present?

# create an empty oxrc config file to bypass config setup
touch testpath/".oxrc"

require "pty"
ENV["TERM"] = "xterm"

Expand Down

0 comments on commit 01b14cc

Please sign in to comment.