diff --git a/fleprocess/displayLog.go b/fleprocess/displayLog.go index d3624b0..ff14b56 100644 --- a/fleprocess/displayLog.go +++ b/fleprocess/displayLog.go @@ -78,7 +78,7 @@ func SprintHeaderValues(logLine LogLine) string { } // Date, Time, band, mode, call, report sent, report rcvd, Notes -var logLineFormat = "%-10s %-4s %-4s %-4s %-10s %-4s %-4s %s\n" +var logLineFormat = "%-10s %-4s %-4s %-4s %-12s %-4s %-4s %s\n" // SprintColumnTitles displays the column titles for a log line func SprintColumnTitles() string { diff --git a/fleprocess/displayLog_test.go b/fleprocess/displayLog_test.go index 69077b2..e23a42b 100644 --- a/fleprocess/displayLog_test.go +++ b/fleprocess/displayLog_test.go @@ -59,8 +59,8 @@ func ExampleSprintColumnTitles() { out := SprintColumnTitles() fmt.Print(out) //Output: - //Date Time Band Mode Call Sent Rcvd Notes - //---- ---- ---- ---- ---- ---- ---- ---- + //Date Time Band Mode Call Sent Rcvd Notes + //---- ---- ---- ---- ---- ---- ---- ---- } func ExampleSprintLogRecord() { @@ -158,7 +158,7 @@ func TestSprintLogInColumn(t *testing.T) { SOTA: "sota", WWFF: "wwff"}, }, - "date time band mode call rstSent rstRcvd QRG: frequency [comment] [qslMessage] omName gridLoc wwff sota \n", + "date time band mode call rstSent rstRcvd QRG: frequency [comment] [qslMessage] omName gridLoc wwff sota \n", }, { "Minimal", @@ -180,7 +180,7 @@ func TestSprintLogInColumn(t *testing.T) { RSTsent: "rstSent", RSTrcvd: "rstRcvd"}, }, - "date time band mode call rstSent rstRcvd \n", + "date time band mode call rstSent rstRcvd \n", }, } for _, tt := range tests {