<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -66,7 +66,7 @@ use the simpler abstract module name instead of the file name:
     helma test/all
 
 Run helma with the -h or --help switch to get more information about available
-command line options. For exapmle, the -i or --interactive option allows you
+command line options. For example, the -i or --interactive option allows you
 to run an application and use the shell at the same time, which can be really
 handy.
 
@@ -84,10 +84,10 @@ programming environment that resembles that of Python environment more than
 the one of ordinary client-side JavaScript runtime.
 
 Helma uses the concept of a module path to look up and load modules that is
-similar to the PATH environment variable used ot find executables on most
+similar to the PATH environment variable used to find executables on most
 operating systems. By default, the module path consists of two entries:
 
-    1. The application root, which is the parent directory of the comman line
+    1. The application root, which is the parent directory of the command line
        script, or the current working directory if called without script
        argument.
     2. The system modules root, which corresponds to the modules directory in
@@ -95,7 +95,7 @@ operating systems. By default, the module path consists of two entries:
 
 Helma NG provides several ways to access and set the module path. The simplest
 is to set the HELMA_MODULE_PATH environment variable, separating multiple entries
-with ':' or whatever character is used to seprate PATH entries on your system:
+with ':' or whatever character is used to separate PATH entries on your system:
 
      export HELMA_MODULE_PATH=../foo/lib:../my/lib
 </diff>
      <filename>README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 include('helma/unittest');
+include('helma/shell');
 var {File} = require('helma/file');
 require('core/string');
 
@@ -18,6 +19,12 @@ testCase.setUp = testCase.tearDown = function() {
     }
 }
 
+testCase.removeFile = function() {
+    var file = new File(filename);
+    file.remove();
+    assertFalse(file.exists());
+}
+
 testCase.testReadWriteFile = function() {
     var file = new File(filename);
     file.remove();
@@ -35,6 +42,7 @@ testCase.testReadWriteFile = function() {
     file.open();
     var line = file.readln();
     assertEqual(line, string1 + string2);
+    file.close();
 }
 
 testCase.testEncoding = function() {</diff>
      <filename>modules/test/helma/file_test.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>50013bfbe03c6ec453e1b1c5eb74d83397d0dc8a</id>
    </parent>
  </parents>
  <author>
    <name>Hannes Wallnoefer</name>
    <email>hannes@helma.at</email>
  </author>
  <url>http://github.com/hns/helma-ng/commit/001a6c82aa1b299b65a29dda62e15a02c0e4b03f</url>
  <id>001a6c82aa1b299b65a29dda62e15a02c0e4b03f</id>
  <committed-date>2009-05-08T03:22:14-07:00</committed-date>
  <authored-date>2009-05-08T03:22:14-07:00</authored-date>
  <message>fixed file_test to close file in ReadWriteFile test. Added shell module import, otherwise get error
when writeln is called. Fixed typos in Readme.

git-svn-id: https://dev.helma.org/svn/helma-ng/trunk@9720 688a9155-6ab5-4160-a077-9df41f55a9e9</message>
  <tree>e15af62d0f19f78fbd210fd796279399c10dfca9</tree>
  <committer>
    <name>Hannes Wallnoefer</name>
    <email>hannes@helma.at</email>
  </committer>
</commit>
