nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contrib/nitrpg: add MDPanel to display MDContent
[nit.git]
/
tests
/
sav
/
test_file_read.res
diff --git
a/tests/sav/test_file_read.res
b/tests/sav/test_file_read.res
index
a5790cb
..
61918c0
100644
(file)
--- a/
tests/sav/test_file_read.res
+++ b/
tests/sav/test_file_read.res
@@
-14,7
+14,7
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-var f = new IFStream.open("test_file_read.nit")
+var f = new FileReader.open("test_file_read.nit")
var s: String
while not f.eof do
s = f.read_line
var s: String
while not f.eof do
s = f.read_line
@@
-27,7
+27,6
@@
f.reopen
printn(f.read(10))
printn("|")
printn(f.read_all)
printn(f.read(10))
printn("|")
printn(f.read_all)
-
# This fil|e is part of NIT ( http://www.nitlanguage.org ).
#
# Copyright 2004-2008 Jean Privat <jean@pryen.org>
# This fil|e is part of NIT ( http://www.nitlanguage.org ).
#
# Copyright 2004-2008 Jean Privat <jean@pryen.org>
@@
-44,7
+43,7
@@
printn(f.read_all)
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-var f = new IFStream.open("test_file_read.nit")
+var f = new FileReader.open("test_file_read.nit")
var s: String
while not f.eof do
s = f.read_line
var s: String
while not f.eof do
s = f.read_line