Sha256: 2b7c0feb238dbf6935fa5bb0b607c801f81d58476b40a31e7f7aa8c0d7606434
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
class MainMethodTest < Test::Unit::TestCase def test_main_generation_for_file_with_class_of_same_name code = <<-EOC class WithMain end System.out.println 'bar' EOC main_class, = compile code, 'with_main' assert_output "bar\n" do main_class.main(nil) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mirah-0.1.0.pre-java | test/jvm/main_method_test.rb |