Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/formatter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ defmodule JUnitFormatter do

@doc "Formats time from nanos to seconds"
@spec format_time(integer) :: binary
def format_time(time), do: ~c"~.4f" |> :io_lib.format([time / 1_000_000]) |> List.to_string()
def format_time(time), do: ~c"~.3f" |> :io_lib.format([time / 1_000_000]) |> List.to_string()

@doc """
Helper function to get the full path of the generated report file.
Expand Down
Loading