We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aaa8fc commit 7f4491eCopy full SHA for 7f4491e
test/data_test.rb
@@ -25,14 +25,14 @@
25
it "creates a data from a file" do
26
# magic fromfile
27
data = GPGME::Data.new(File.open(__FILE__))
28
- assert_match /magic fromfile/, data.read
+ assert_match(/magic fromfile/, data.read)
29
end
30
31
it "creates a data from file descriptor" do
32
# magic filedescriptor
33
File.open(__FILE__) do |f|
34
data = GPGME::Data.new(f.fileno)
35
- assert_match /magic filedescriptor/, data.read
+ assert_match(/magic filedescriptor/, data.read)
36
37
38
0 commit comments