interpreter&vm: handle multi-iterator
[nit.git] / tests / base_test_obj_id.nit
index 97c6c63..cf467d0 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
@@ -27,4 +27,4 @@ assert 'd'.object_id.to_s.is_numeric
 assert 1.0.object_id.to_s.is_numeric
 
 # Check NativeString.object_id
-assert "Test"._items.object_id.to_s.is_numeric
+assert "Test".as(FlatString).items.object_id.to_s.is_numeric