X-Git-Url: http://nitlanguage.org diff --git a/tests/test_file_write.nit b/tests/test_file_write.nit index 5a8f936..bc4e2a1 100644 --- a/tests/test_file_write.nit +++ b/tests/test_file_write.nit @@ -14,8 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -var f = new OFStream.open("out/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