From 346c0ce02890233901b353a16e8afe2e61648e83 Mon Sep 17 00:00:00 2001 From: Chris James Date: Thu, 18 Jun 2020 11:56:38 +0100 Subject: [PATCH] more silly fixes --- math/v2/clockface/clockface_acceptance_test.go | 16 ++++++++-------- math/v3/clockface/clockface_acceptance_test.go | 16 ++++++++-------- math/v4/clockface/clockface_acceptance_test.go | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/math/v2/clockface/clockface_acceptance_test.go b/math/v2/clockface/clockface_acceptance_test.go index 74eecc476..f523b4716 100644 --- a/math/v2/clockface/clockface_acceptance_test.go +++ b/math/v2/clockface/clockface_acceptance_test.go @@ -18,13 +18,13 @@ func TestSecondHandAtMidnight(t *testing.T) { } } -// func TestSecondHandAt30Seconds(t *testing.T) {. -// tm := time.Date(1337, time.January, 1, 0, 0, 30, 0, time.UTC). +// func TestSecondHandAt30Seconds(t *testing.T) { +// tm := time.Date(1337, time.January, 1, 0, 0, 30, 0, time.UTC) -// want := clockface.Point{X: 150, Y: 150 + 90}. -// got := clockface.SecondHand(tm). +// want := clockface.Point{X: 150, Y: 150 + 90} +// got := clockface.SecondHand(tm) -// if got != want {. -// t.Errorf("Got %v, wanted %v", got, want). -// }. -// }. +// if got != want { +// t.Errorf("Got %v, wanted %v", got, want) +// } +// } diff --git a/math/v3/clockface/clockface_acceptance_test.go b/math/v3/clockface/clockface_acceptance_test.go index 74eecc476..f523b4716 100644 --- a/math/v3/clockface/clockface_acceptance_test.go +++ b/math/v3/clockface/clockface_acceptance_test.go @@ -18,13 +18,13 @@ func TestSecondHandAtMidnight(t *testing.T) { } } -// func TestSecondHandAt30Seconds(t *testing.T) {. -// tm := time.Date(1337, time.January, 1, 0, 0, 30, 0, time.UTC). +// func TestSecondHandAt30Seconds(t *testing.T) { +// tm := time.Date(1337, time.January, 1, 0, 0, 30, 0, time.UTC) -// want := clockface.Point{X: 150, Y: 150 + 90}. -// got := clockface.SecondHand(tm). +// want := clockface.Point{X: 150, Y: 150 + 90} +// got := clockface.SecondHand(tm) -// if got != want {. -// t.Errorf("Got %v, wanted %v", got, want). -// }. -// }. +// if got != want { +// t.Errorf("Got %v, wanted %v", got, want) +// } +// } diff --git a/math/v4/clockface/clockface_acceptance_test.go b/math/v4/clockface/clockface_acceptance_test.go index 74eecc476..f523b4716 100644 --- a/math/v4/clockface/clockface_acceptance_test.go +++ b/math/v4/clockface/clockface_acceptance_test.go @@ -18,13 +18,13 @@ func TestSecondHandAtMidnight(t *testing.T) { } } -// func TestSecondHandAt30Seconds(t *testing.T) {. -// tm := time.Date(1337, time.January, 1, 0, 0, 30, 0, time.UTC). +// func TestSecondHandAt30Seconds(t *testing.T) { +// tm := time.Date(1337, time.January, 1, 0, 0, 30, 0, time.UTC) -// want := clockface.Point{X: 150, Y: 150 + 90}. -// got := clockface.SecondHand(tm). +// want := clockface.Point{X: 150, Y: 150 + 90} +// got := clockface.SecondHand(tm) -// if got != want {. -// t.Errorf("Got %v, wanted %v", got, want). -// }. -// }. +// if got != want { +// t.Errorf("Got %v, wanted %v", got, want) +// } +// }