lib: intro `prompt`, basic Apache 2.0 service to display a prompt
[nit.git] / tests / test_file_write.nit
index c4f8f33..bc4e2a1 100644 (file)
@@ -14,8 +14,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-var f = new OFStream.open("test_file_write.write")
+var f = new FileWriter.open("out/test_file_write.write")
    f.write("Quatre vingt et un : {421}\n")
    f.write("Une autre ligne\nencore un")
-   f.write(['e', '\n'].to_s)
+   f.write(['e', '\n'].plain_to_s)
    f.close