[PRISM] Enclose in the test class
This commit is contained in:
parent
bb849ffdb1
commit
84dfa0fa5e
@ -526,6 +526,7 @@ module Prism
|
||||
def test_prism_eval(source)
|
||||
$VERBOSE, verbose_bak = nil, $VERBOSE
|
||||
|
||||
source = "class Prism::TestCompilePrism\n#{source}\nend"
|
||||
begin
|
||||
compare_eval(source)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user