Skip to content

Commit e00ab4b

Browse files
committed
comment out bootclasspath test--there is no bootclasspath yet
to get it to work, we need to port these commits over (in asc order) d11f694 actually use the bootclasspath in the bootstrap_loader 6f293d8 fix and test(barely) IsolatedResourceLoader cff273c add tests for MirahClassLoader 98adac4 add some comments on class loaders 886bc5f test that bootclasspath arg sets the bootclasspath 2642a28 add tab to cli help for bootclasspath 97cee78 Support specifying --bootclasspath
1 parent 1e46765 commit e00ab4b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/core/util/argument_processor_test.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ def test_on_invalid_arg_prints_error_and_exits_1
2727
assert_equal 1, processor.exit_status_code
2828
end
2929

30-
def test_arg_bootclasspath_sets_bootclasspath_on_type_factory_ugh
31-
Mirah::AST.type_factory = Mirah::JVM::Types::TypeFactory.new # global state grumble grumble
32-
33-
path = "class:path"
34-
state = Mirah::Util::CompilationState.new
35-
processor = Mirah::Util::ArgumentProcessor.new state, ["--bootclasspath", path]
36-
processor.process
37-
38-
assert_equal path, Mirah::AST.type_factory.bootclasspath
39-
end
30+
# def test_arg_bootclasspath_sets_bootclasspath_on_type_factory_ugh
31+
# Mirah::AST.type_factory = Mirah::JVM::Types::TypeFactory.new # global state grumble grumble
32+
#
33+
# path = "class:path"
34+
# state = Mirah::Util::CompilationState.new
35+
# processor = Mirah::Util::ArgumentProcessor.new state, ["--bootclasspath", path]
36+
# processor.process
37+
#
38+
# assert_equal path, Mirah::AST.type_factory.bootclasspath
39+
# end
4040

4141
def test_dash_j_fails_when_not_compiling
4242
state = Mirah::Util::CompilationState.new

0 commit comments

Comments
 (0)