dumping ground for random patches and texts
 help / color / mirror / Atom feed
* autoload test failure
@ 2015-07-21 18:40 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-07-21 18:40 UTC (permalink / raw)
  To: spew

#8 test_autoload.rb:46:in `<top (required)>':
     open("zzz.rb", "w") {|f| f.puts "class ZZZ; def self.ok;:ok;end;end"}
     autoload :ZZZ, "./zzz.rb"
     t1 = Thread.new {ZZZ.ok}
     t2 = Thread.new {ZZZ.ok}
     [t1.value, t2.value].join
  #=> "" (expected "okok")
stderr output is not empty
   bootstraptest.tmp.rb:5:in `block in <main>': uninitialized constant ZZZ (NameError)
test_autoload.rb        FAIL 1/8
FAIL 1/1010 tests failed

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-21 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-21 18:40 autoload test failure Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).