Merge: Basename fix
[nit.git] / tests / test_new_native.nit
index c1ecc49..28facde 100644 (file)
 # limitations under the License.
 
 var s = new NativeString(4)
-s[0] = 'N'
-s[2] = 't'
-s[1] = 'i'
-s[3] = '\0'
+s[0] = 0x4Eu8
+s[2] = 0x74u8
+s[1] = 0x69u8
+s[3] = 0u8
 print s.class_name
 print s[0]
 print s.to_s