From 392c0c1a3c5e6b32613643ece351249174e0fa0d Mon Sep 17 00:00:00 2001 From: aaron <83140718+centau@users.noreply.github.com> Date: Mon, 28 Aug 2023 12:19:52 +0100 Subject: [PATCH] Update unit test Regression check for recent `action()` bug fix --- test/tests.luau | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/tests.luau b/test/tests.luau index 2c1ff34..d66cf42 100644 --- a/test/tests.luau +++ b/test/tests.luau @@ -1388,13 +1388,16 @@ TEST("actions", function() do CASE "run action" local ran = false - create "Frame" { + local frame_ref + local frame = create "Frame" { action(function(self) + frame_ref = self ran = true end, 1) } CHECK(ran) + CHECK(frame_ref == frame) end do CASE "priorities"