Skip to content

Commit b73bc40

Browse files
committed
Fix spec
1 parent e9652b4 commit b73bc40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/cobhan_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def self.add_int32(first, second)
6565
expect {
6666
CobhanApp.add_int32(1, 2)
6767
}.to raise_error(NoMethodError) do |e|
68-
expect(e.message).to include("undefined method `addInt32'")
68+
expect(e.message).to include("undefined method `addInt32'").or include("undefined method 'addInt32'")
6969
end
7070

7171
CobhanApp.load_library(

0 commit comments

Comments
 (0)