From f5035670c7853535fb8d101c447831c2cef0c77d Mon Sep 17 00:00:00 2001
From: David Widmann <devmotion@users.noreply.github.com>
Date: Fri, 20 Oct 2023 10:40:18 +0200
Subject: [PATCH] Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---
 src/TestUtils.jl | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/TestUtils.jl b/src/TestUtils.jl
index 97f70650f..2751f6192 100644
--- a/src/TestUtils.jl
+++ b/src/TestUtils.jl
@@ -9,11 +9,12 @@ if isdefined(Base, :get_extension) && isdefined(Base.Experimental, :register_err
     function __init__()
         # Better error message if users forget to load Test
         Base.Experimental.register_error_hint(MethodError) do io, exc, _, _
-            if (exc.f === test_interface ||
+            if (
+                exc.f === test_interface ||
                 exc.f === test_with_type ||
                 exc.f === test_type_stability ||
-                exc.f === example_inputs) &&
-                (Base.get_extension(Distributions, :DistributionsTestExt) === nothing)
+                exc.f === example_inputs
+            ) && (Base.get_extension(Distributions, :DistributionsTestExt) === nothing)
                 print(io, "\nDid you forget to load Test?")
             end
         end