From 870b6e87ae8f060a2f1b9518017002a7b21860d2 Mon Sep 17 00:00:00 2001 From: NikolasPetriti Date: Fri, 1 Sep 2023 14:53:01 +0200 Subject: [PATCH] Add gofmt --- engine/eventcost_test.go | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/engine/eventcost_test.go b/engine/eventcost_test.go index c6a20f9bf..a6498b8ed 100644 --- a/engine/eventcost_test.go +++ b/engine/eventcost_test.go @@ -3684,10 +3684,10 @@ func TestEventCostAsRefundIncrements(t *testing.T) { str := "test" td := 1 * time.Second ec := &EventCost{ - CGRID: str, - RunID: str, - StartTime: time.Date(2021, 8, 15, 14, 30, 45, 100, time.Local), - Usage: &td, + CGRID: str, + RunID: str, + StartTime: time.Date(2021, 8, 15, 14, 30, 45, 100, time.Local), + Usage: &td, } rcv := ec.AsRefundIncrements(str) @@ -3712,13 +3712,13 @@ func TestEventCostappendChargingIntervalFromEventCost(t *testing.T) { str2 := "test2" td2 := 2 * time.Millisecond ec := &EventCost{ - CGRID: str, - RunID: str, - StartTime: time.Date(2021, 8, 15, 14, 30, 45, 100, time.Local), - Usage: &td, - Charges: []*ChargingInterval{{ - RatingID: str, - Increments: []*ChargingIncrement{{ + CGRID: str, + RunID: str, + StartTime: time.Date(2021, 8, 15, 14, 30, 45, 100, time.Local), + Usage: &td, + Charges: []*ChargingInterval{{ + RatingID: str, + Increments: []*ChargingIncrement{{ Usage: td, Cost: fl, AccountingID: str, @@ -3728,16 +3728,16 @@ func TestEventCostappendChargingIntervalFromEventCost(t *testing.T) { usage: &td, ecUsageIdx: &td, cost: &fl, - }, - }} + }, + }} oEC := &EventCost{ - CGRID: str2, - RunID: str2, - StartTime: time.Date(2022, 8, 15, 14, 30, 45, 100, time.Local), - Usage: &td2, - Charges: []*ChargingInterval{{ - RatingID: str, - Increments: []*ChargingIncrement{{ + CGRID: str2, + RunID: str2, + StartTime: time.Date(2022, 8, 15, 14, 30, 45, 100, time.Local), + Usage: &td2, + Charges: []*ChargingInterval{{ + RatingID: str, + Increments: []*ChargingIncrement{{ Usage: td, Cost: fl, AccountingID: str,