nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
interpreter&vm: handle multi-iterator
[nit.git]
/
tests
/
base_test_obj_id.nit
diff --git
a/tests/base_test_obj_id.nit
b/tests/base_test_obj_id.nit
index
97c6c63
..
cf467d0
100644
(file)
--- a/
tests/base_test_obj_id.nit
+++ b/
tests/base_test_obj_id.nit
@@
-12,7
+12,7
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# 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
# 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 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