Updated `tests/syntax_callref.nit`
[nit.git] / tests / sav / test_file_read.res
index a5790cb..61918c0 100644 (file)
@@ -14,7 +14,7 @@
 # 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
@@ -27,7 +27,6 @@ f.reopen
 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>
@@ -44,7 +43,7 @@ printn(f.read_all)
 # 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