diff --git a/test/full-program-tests/large-dependent-finalisers/main.pony b/test/full-program-tests/large-dependent-finalisers/main.pony index 24c47658bd..ef96d00537 100644 --- a/test/full-program-tests/large-dependent-finalisers/main.pony +++ b/test/full-program-tests/large-dependent-finalisers/main.pony @@ -82,7 +82,7 @@ class _Final match other | None => None | let o: this->_Final => - if (num > 0) and (o.num > 0) then + if 1025 == (num + o.num) then @codegentest_large_dependent_finalisers_decrement_num_objects() end end @@ -90,6 +90,6 @@ class _Final actor Main new create(env: Env) => let f1 = _Final(1) - let f2 = _Final(2) + let f2 = _Final(1024) f1.other = f2 f2.other = f1 diff --git a/test/full-program-tests/small-dependent-finalisers/main.pony b/test/full-program-tests/small-dependent-finalisers/main.pony index a856d11e52..8606b15240 100644 --- a/test/full-program-tests/small-dependent-finalisers/main.pony +++ b/test/full-program-tests/small-dependent-finalisers/main.pony @@ -13,7 +13,7 @@ class _Final match other | None => None | let o: this->_Final => - if (num > 0) and (o.num > 0) then + if 1025 == (num + o.num) then @codegentest_small_dependent_finalisers_decrement_num_objects() end end