tests: args can use `$WRITE` instead of guessing the right outfile name
[nit.git] / tests / test_ni_pointer.nit.c
index ae916ce..00680a2 100644 (file)
@@ -27,11 +27,11 @@ A new_A___impl(  )
 C implementation of test_ni_pointer::A::(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 A_to_s___impl( A recv )
 {
        char* s = calloc( 256, sizeof(char) );
        sprintf( s, "%d", *((int*)recv) );
-       return new_String_from_cstring( s );
+       return NativeString_to_s( s );
 }