rubyx/stash/test_rubyx/fragments/test_many_hello.rb
Torsten Ruger 112ec26bd1 deprecating ruby package
to be replaced by vool and mom
2017-08-31 16:18:59 +03:00

22 lines
370 B
Ruby

require_relative 'helper'
module Rubyx
class TestManyHello < MiniTest::Test
include RubyxTests
def pest_ruby_hello_looping
@string_input = <<HERE
counter = 100000;
while(counter > 0) do
puts "Hello there"
STDOUT.flush
counter = counter - 1
end
HERE
@length = 37
@stdout = "Hello there"
check
end
end
end