aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-08-13 15:02:46 +0200
committerMartin Polden <mpolden@mpolden.no>2021-08-13 15:02:46 +0200
commitf125e9f19b5461f03bfbfa35a7fb64339a8a9f27 (patch)
tree1e8957bb2cd1ac1a825bbd0732f4cad9f6cad5e0
parentd671458b48a605e833bb6eec7bc2a6637d9d1287 (diff)
atb: Simplify
-rw-r--r--atb/atb_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/atb/atb_test.go b/atb/atb_test.go
index 0aaf0cb..a39989f 100644
--- a/atb/atb_test.go
+++ b/atb/atb_test.go
@@ -24,7 +24,7 @@ func TestGetBusStops(t *testing.T) {
atb := Client{URL: server.URL}
expected := BusStops{
Stops: []BusStop{
- BusStop{
+ {
StopID: 100633,
NodeID: "16011376",
Description: "Prof. Brochs gt",
@@ -52,7 +52,7 @@ func TestGetRealTimeForecast(t *testing.T) {
expected := Forecasts{
Total: 1,
Nodes: []NodeInfo{
- NodeInfo{
+ {
Name: "AtB",
NodeID: "16011376",
NodeName: "Prof.",
@@ -64,7 +64,7 @@ func TestGetRealTimeForecast(t *testing.T) {
},
},
Forecasts: []Forecast{
- Forecast{
+ {
LineID: "6",
LineDescription: "6",
RegisteredDepartureTime: "26.02.2015 18:38",