From 5a459284babd141f142b56f60b027ae97d5a6264 Mon Sep 17 00:00:00 2001 From: Dan Anstis Date: Tue, 3 Apr 2018 16:03:09 +1000 Subject: [PATCH] Update test with gofmt. +semver: none --- plex/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plex/server_test.go b/plex/server_test.go index a60c453..eba73c0 100644 --- a/plex/server_test.go +++ b/plex/server_test.go @@ -116,8 +116,8 @@ func TestGettingShowEpisodes(t *testing.T) { t.Errorf("unable to get show episodes: %v", err) } expected := []Episode{ - Episode{ID: 128, Name: "Episode1", Episode: 1, Season: 1, ViewCount: 1, LastWatched: 1519792250}, - Episode{ID: 125, Name: "Episode2", Episode: 2, Season: 1, ViewCount: 0, LastWatched: 0}, + {ID: 128, Name: "Episode1", Episode: 1, Season: 1, ViewCount: 1, LastWatched: 1519792250}, + {ID: 125, Name: "Episode2", Episode: 2, Season: 1, ViewCount: 0, LastWatched: 0}, } Convey("The correct episode details should be returned", func() {