Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / base_test_obj_id.nit
index caa1c4b..5c70cb9 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-intrude import string
+intrude import text::flat
 
 # Check Bool.object_id
 assert true.object_id.to_s.is_numeric
@@ -26,5 +26,5 @@ assert 'd'.object_id.to_s.is_numeric
 # Check Float.object_id
 assert 1.0.object_id.to_s.is_numeric
 
-# Check NativeString.object_id
-assert "Test".items.object_id.to_s.is_numeric
+# Check CString.object_id
+assert "Test".as(FlatString).items.object_id.to_s.is_numeric