Merge remote-tracking branch 'upstream/master' into init_auto
[nit.git] / tests / sav / nitpretty_args21.res
index ef5a694..7fca201 100644 (file)
@@ -70,8 +70,8 @@ extern class TimeT `{time_t`}
        new from_i(i: Int) `{ return i; `}
        fun update `{ time(&self); `}
 
-       fun ctime: String import NativeString.to_s_with_copy `{
-               return NativeString_to_s_with_copy( ctime(&self) );
+       fun ctime: String import CString.to_s `{
+               return CString_to_s( ctime(&self) );
        `}
 
        # Difference in secondes from start (self if the end time)