Skip to content

Commit 7f58f7b

Browse files
committed
Simplifying common parser tests
1 parent 1dcc84b commit 7f58f7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ def assert_not_parse(parser, string)
4141

4242
module CommonParserTests
4343
def self.included(base)
44-
base.send(:include, Helpers)
4544
base.instance_eval do
45+
include Helpers
46+
4647
describe "common parser tests" do
4748
it "parses inherit" do
4849
trans("inherit").must_equal([])

0 commit comments

Comments
 (0)