Sha256: 02b382c091bcb4fe9174cc1e66ba82279fd3b0045a086bf1d3e5a0198518c996
Contents?: true
Size: 305 Bytes
Versions: 3
Compression:
Stored size: 305 Bytes
Contents
class TestMainMethod < Test::Unit::TestCase def test_main_generation_for_file_with_class_of_same_name code = <<-EOC class WithMain end puts 'bar' EOC main_class, = compile code, 'with_main' assert_output "bar\n" do main_class.main(nil) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mirah-0.0.10-java | test/jvm/test_main_method.rb |
mirah-0.0.9-java | test/jvm/test_main_method.rb |
mirah-0.0.8-java | test/jvm/test_main_method.rb |