gptfdisk: use test assertion
This commit is contained in:
parent
21c3d0b9a6
commit
79af504a22
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class Gptfdisk < Formula
|
|||
test do
|
||||
IO.popen("#{sbin}/gdisk", "w+") do |pipe|
|
||||
pipe.write("\n")
|
||||
/GPT fdisk \(gdisk\) version #{Regexp.escape(version)}/ === pipe.read
|
||||
assert_match /GPT fdisk \(gdisk\) version #{Regexp.escape(version)}/, pipe.read
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue