aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_yield.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_yield.rb')
-rw-r--r--test/ruby/test_yield.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_yield.rb b/test/ruby/test_yield.rb
index 8bc4972bd3..3ae6881b87 100644
--- a/test/ruby/test_yield.rb
+++ b/test/ruby/test_yield.rb
@@ -322,14 +322,14 @@ class TestRubyYieldGen < Test::Unit::TestCase
end
def test_yield
- syntax = Sentence::Gen.expand_syntax(Syntax)
+ syntax = Sentence.expand_syntax(Syntax)
Sentence.each(syntax, :test_proc, 4) {|t|
check_nofork(t)
}
end
def test_yield_lambda
- syntax = Sentence::Gen.expand_syntax(Syntax)
+ syntax = Sentence.expand_syntax(Syntax)
Sentence.each(syntax, :test_lambda, 4) {|t|
check_nofork(t, true)
}