nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Commands tests use `test_frontend`
[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
6c7125d
..
5c70cb9
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
@@
-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 Float.object_id
assert 1.0.object_id.to_s.is_numeric
-# Check NativeString.object_id
+# Check CString.object_id
assert "Test".as(FlatString).items.object_id.to_s.is_numeric
assert "Test".as(FlatString).items.object_id.to_s.is_numeric