Merge: mongodb: Fixed failing test for `aggregate` method.
[nit.git] / tests / test_pretty / test_extern1.nit
index 40f9579..a7b3b0d 100644 (file)
@@ -70,8 +70,8 @@ extern class TimeT `{time_t`}
 
        fun update `{ time(&self); `}
 
-       fun ctime: String import CString.to_s_with_copy `{
-               return CString_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)