mirror of
https://github.com/fluffle/goirc
synced 2025-09-06 00:43:20 +00:00
Fix go1 time changes up.
This commit is contained in:
parent
9c67c42fa1
commit
b98fabe44e
3 changed files with 22 additions and 18 deletions
|
@ -2,6 +2,7 @@ package client
|
|||
|
||||
import (
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestCopy(t *testing.T) {
|
||||
|
@ -13,7 +14,7 @@ func TestCopy(t *testing.T) {
|
|||
Cmd: "cmd",
|
||||
Raw: "raw",
|
||||
Args: []string{"arg", "text"},
|
||||
Time: nil,
|
||||
Time: time.Now(),
|
||||
}
|
||||
|
||||
l2 := l1.Copy()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue