Skip to content

Commit

Permalink
format logs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermebodin committed Oct 6, 2023
1 parent 31dc236 commit 663f467
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_logs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 663f467

Please sign in to comment.