From 663f4675b649d818f9714917d8419d8c1846d356 Mon Sep 17 00:00:00 2001 From: guilhermebodin Date: Fri, 6 Oct 2023 13:14:37 -0300 Subject: [PATCH] format logs tests --- test/test_logs.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test_logs.jl b/test/test_logs.jl index 1a643ef..06facd6 100644 --- a/test/test_logs.jl +++ b/test/test_logs.jl @@ -59,7 +59,10 @@ end function test_direct_log_fatal_error_other_exception() log_error_path = "error.log" polyglot_logger = LoggingPolyglot.create_polyglot_logger(log_error_path) - @test_throws DimensionMismatch LoggingPolyglot.fatal_error("dim mismatch"; exception = DimensionMismatch("")) + @test_throws DimensionMismatch LoggingPolyglot.fatal_error( + "dim mismatch"; + exception = DimensionMismatch(""), + ) LoggingPolyglot.close_polyglot_logger(polyglot_logger) rm(log_error_path; force = true) return nothing