From 4a831d029b2aac775214ee00afded472e98be59b Mon Sep 17 00:00:00 2001 From: alice <166900055+alicesaidhi@users.noreply.github.com> Date: Sat, 17 Aug 2024 04:10:50 +0200 Subject: [PATCH] simplify test case --- test/tests.luau | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/tests.luau b/test/tests.luau index 6d73592..fe2778d 100644 --- a/test/tests.luau +++ b/test/tests.luau @@ -1927,23 +1927,21 @@ TEST("batch()", wrap_root(function() local a = source(0) local b = source(0) local c = source(0) - local d = source(0) local d_n = 0 effect(function() + b() c() - d() d_n += 1 end) effect(function() + b(a()) c(a()) - d(b()) end) batch(function() a(1) - b(1) end) CHECK(d_n == 3)