Permalink
Browse files

Fix AS test suite.

  • Loading branch information...
1 parent aace38a commit cd7fbcbba82c08aeaac791e4d8ff3f789e628b3b @josevalim josevalim committed Dec 10, 2011
@@ -40,6 +40,7 @@ def #{severity}(progname = nil, &block)
def flush
@tags.delete(Thread.current)
+ @logger.flush if @logger.respond_to?(:flush)
end
def method_missing(method, *args)
@@ -43,6 +43,7 @@ def test_write_binary_data_to_existing_file
def test_write_binary_data_create_file
fname = File.join Dir.tmpdir, 'lol', 'rofl.log'
+ FileUtils.mkdir_p File.dirname(fname)
f = File.open(fname, 'w')
f.binmode

0 comments on commit cd7fbcb

Please sign in to comment.