From aea1dde7a7fa86bd4813866ff3f1f6193a092b3a Mon Sep 17 00:00:00 2001 From: wmkouw Date: Tue, 26 Nov 2024 15:26:44 +0100 Subject: [PATCH] Ran formatter --- test/rule_tests.jl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/test/rule_tests.jl b/test/rule_tests.jl index d7af639f2..86f15089d 100644 --- a/test/rule_tests.jl +++ b/test/rule_tests.jl @@ -713,18 +713,17 @@ end @testset "get_from_rule_method" begin - - let + let rule1 = methods(ReactiveMP.rule)[1] - messages_rule1 = ReactiveMP.get_messages_from_rule_method(rule1) - message_names_rule1 = ReactiveMP.get_message_names_from_rule_method(rule1) - message_types_rule1 = ReactiveMP.get_message_types_from_rule_method(rule1) + messages_rule1 = ReactiveMP.get_messages_from_rule_method(rule1) + message_names_rule1 = ReactiveMP.get_message_names_from_rule_method(rule1) + message_types_rule1 = ReactiveMP.get_message_types_from_rule_method(rule1) marginals_rule1 = ReactiveMP.get_marginals_from_rule_method(rule1) marginal_names_rule1 = ReactiveMP.get_marginal_names_from_rule_method(rule1) marginal_types_rule1 = ReactiveMP.get_marginal_types_from_rule_method(rule1) - + @test ReactiveMP.get_node_from_rule_method(rule1) == "*" @test occursin("μ(A) :: BayesBase.PointMass", messages_rule1[1]) @test occursin("μ(out) :: Union{ExponentialFamily.NormalDistributionsFamily{T}", messages_rule1[2])