rta: use `to_s_with_length` instead of `to_s` in literal strings
[nit.git] / tests / test_ni_special_pointer.nit.c
index 00ccaf2..f26fc6d 100644 (file)
@@ -47,7 +47,7 @@ ExternInt new_ExternInt_as_2___impl(  )
 C implementation of test_ni_special_pointer::ExternInt::(string::Object::to_s)
 
 Imported methods signatures:
-       String new_String_from_cstring( char * str ) for string::String::from_cstring
+       String NativeString_to_s( char * str ) for string::NativeString::to_s
 */
 String ExternInt_to_s___impl( ExternInt recv )
 {
@@ -55,7 +55,7 @@ String ExternInt_to_s___impl( ExternInt recv )
        char *vs = (char*)calloc( 256, sizeof(char) );
 
        sprintf( vs, "%i", v );
-       return new_String_from_cstring( vs );
+       return NativeString_to_s( vs );
 }
 
 /*