Sha256: acd86031a819ac29612ea53669d72cdabcde25572cea35b25eb0f39bc2e66601

Contents?: true

Size: 337 Bytes

Versions: 26

Compression:

Stored size: 337 Bytes

Contents

require 'open3'

assert('mirb normal operations') do
  o, s = Open3.capture2('bin/mirb', :stdin_data => "a=1\nb=2\na+b\n")
  assert_true o.include?('=> 3')
  assert_true o.include?('=> 2')
end

assert('regression for #1563') do
  o, s = Open3.capture2('bin/mirb', :stdin_data => "a=1;b=2;c=3\nb\nc")
  assert_true o.include?('=> 3')
end

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
script_core-0.0.3 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb
script_core-0.0.2 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb
script_core-0.0.1 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb
webruby-0.9.3 modules/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb
webruby-0.9.2 modules/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb
webruby-0.9.1 modules/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb