@@ -3,7 +3,7 @@ import lib/std/minimal.lsts;
33
44assert( mk-hashtable(type(U8), type(U8), 0).bind(8,9).length == 1 );
55assert( safe-alloc-block-count == 0 );
6- assert( safe-alloc-block-count-monotonic == 1 );
6+ if not(config-v23) then assert( safe-alloc-block-count-monotonic == 1 );
77safe-alloc-block-count-monotonic = 0;
88
99# it isn't possible to just gently push the hashtable over the resize threshold
@@ -12,15 +12,15 @@ safe-alloc-block-count-monotonic = 0;
1212# additionally, that threshold could be non-linear etc. so it is hard to test directly
1313assert( mk-hashtable(type(U8), type(U8), 100).bind(8,9).length == 1 );
1414assert( safe-alloc-block-count == 0 );
15- assert( safe-alloc-block-count-monotonic == 1 );
15+ if not(config-v23) then assert( safe-alloc-block-count-monotonic == 1 );
1616safe-alloc-block-count-monotonic = 0;
1717
1818assert( mk-hashtable(type(U8), type(U8), 100).bind(8,9).bind(8,10).length == 1 );
1919assert( safe-alloc-block-count == 0 );
20- assert( safe-alloc-block-count-monotonic == 1 );
20+ if not(config-v23) then assert( safe-alloc-block-count-monotonic == 1 );
2121safe-alloc-block-count-monotonic = 0;
2222
2323assert( mk-hashtable(type(U8), type(U8), 100).bind(8,9).bind(9,10).length == 2 );
2424assert( safe-alloc-block-count == 0 );
25- assert( safe-alloc-block-count-monotonic == 1 );
25+ if not(config-v23) then assert( safe-alloc-block-count-monotonic == 1 );
2626safe-alloc-block-count-monotonic = 0;
0 commit comments