test/test_bufferingreader.rb in tracksperanto-2.8.6 vs test/test_bufferingreader.rb in tracksperanto-2.9.0
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
require File.expand_path(File.dirname(__FILE__)) + '/helper'
class TestBufferingReader < Test::Unit::TestCase
def test_reads_once
s = StringIO.new("This is a string")
@@ -42,6 +43,6 @@
s = StringIO.new(s)
reader = Tracksperanto::BufferingReader.new(s, 1)
s.length.times { reader.read_one_byte }
assert reader.data_exhausted?
end
-end
\ No newline at end of file
+end