From 87daabaf60582f06e3711881586d8015d980dfa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Thu, 6 Jun 2024 17:58:38 +0700 Subject: [PATCH] Fix test helper --- test/support/test_helpers.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/support/test_helpers.ex b/test/support/test_helpers.ex index 32a4735d4d1..74041217b2a 100644 --- a/test/support/test_helpers.ex +++ b/test/support/test_helpers.ex @@ -111,15 +111,15 @@ defmodule Livebook.TestHelpers do # This test uses the Embedded runtime, so we can target the # process by name Process.register(self(), unquote(name)) - receive do: (:stop -> :ok) + receive do: (:finish -> :ok) end |> Macro.to_string() - ack_fun = fn -> - send(Process.whereis(name), :pong) + continue_fun = fn -> + send(Process.whereis(name), :finish) end - {code, ack_fun} + {code, continue_fun} end @doc """