Skip to content

Commit 9bba78a

Browse files
committed
fix tests to accomdate for globals
1 parent 3e08679 commit 9bba78a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/promises/lm-type/intern-type-tag.lsts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11

22
import SRC/unit-type-core.lsts;
33

4+
type-tag-intern-index = {} : Hashtable<CString,U32>;
5+
type-tag-intern-inverse-index = {} : Hashtable<U32,CString>;
6+
47
assert( intern-type-tag(c"A") == TypeTagIntern(1_u32,0_u32) );
58
assert( intern-type-tag(c"A") == TypeTagIntern(1_u32,0_u32) );
69
assert( intern-type-tag(c"B") == TypeTagIntern(2_u32,0_u32) );

0 commit comments

Comments
 (0)