Sha256: 4a81cf47201bd6537f90d2fba84adebe604f5a456361401a048b04aacb2bde1e
Contents?: true
Size: 286 Bytes
Versions: 2
Compression:
Stored size: 286 Bytes
Contents
class MainMethodTest < 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, :name => 'with_main' assert_run_output("bar\n", main_class) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mirah-0.2.1-java | test/jvm/main_method_test.rb |
mirah-0.2.0-java | test/jvm/main_method_test.rb |