rubyx/stash/test_rubyx/fragments/test_loop.rb

20 lines
287 B
Ruby
Raw Normal View History

require_relative 'helper'
module Rubyx
class TestRubyLoop < MiniTest::Test
include RubyxTests
def pest_ruby_loop
@string_input = <<HERE
counter = 100000
while(counter > 0) do
counter -= 1
end
HERE
@stdout = "Hello there"
check
end
end
end