require 'test/unit' require 'rbconfig' # Since we haven't found a good way to instantiate multiple ARGF instances for testing, # the approach here is to fork to another process, run few things, and be done with it. # Given JRuby startup time, ARGF is not a terribly valuable feature, so this level of testing is enough. SCRIPT = <