# See the License for the specific language governing permissions and
# limitations under the License.
-var f = new FileReader.open("test_peek.nit")
+import core::kernel
-print f.peek(5)
-print f.read(5)
+var bool = true
+var int = 42
-print f.peek(12)
-print f.read(12)
+assert int isa Bool
-print f.read_all
-
-print f.peek(2)
-
-f.close
+if int == bool then
+ 1.output
+end