Fixed imports
This commit is contained in:
parent
e0597a291a
commit
441fca430a
@ -1,8 +1,8 @@
|
|||||||
package clockface
|
package clockface
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.nerdfortress.dev/mitch/clockface"
|
|
||||||
"math"
|
"math"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const secondHandLength = 90
|
const secondHandLength = 90
|
||||||
|
@ -5,14 +5,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
package clockface
|
|
||||||
|
|
||||||
import (
|
|
||||||
"testing"
|
|
||||||
"time"
|
|
||||||
"git.nerdfortress.dev/mitch/clockface"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestSecondHandAtMidnight(t *testing.T) {
|
func TestSecondHandAtMidnight(t *testing.T) {
|
||||||
tm := time.Date(1337, time.January, 1, 0, 0, 0, 0, time.UTC)
|
tm := time.Date(1337, time.January, 1, 0, 0, 0, 0, time.UTC)
|
||||||
|
|
||||||
|
@ -6,15 +6,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
package clockface
|
|
||||||
|
|
||||||
import (
|
|
||||||
"math"
|
|
||||||
"testing"
|
|
||||||
"time"
|
|
||||||
"git.nerdfortress.dev/mitch/clockface"
|
|
||||||
)
|
|
||||||
|
|
||||||
func simpleTime(hours, minutes, seconds int) time.Time {
|
func simpleTime(hours, minutes, seconds int) time.Time {
|
||||||
return time.Date(312, time.October, 28, hours, minutes, seconds, 0, time.UTC)
|
return time.Date(312, time.October, 28, hours, minutes, seconds, 0, time.UTC)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user