X-Git-Url: http://www.git.cypherpunks.ru/?p=goircd.git;a=blobdiff_plain;f=client_test.go;h=82756c8ad5008cf28a63b524901f18becc4cb0cd;hp=22cc401ea920bacc0e36c245145359be47d851d1;hb=def74ddc09249de9ab72001bb00550863d7f27e6;hpb=59a6cddf54c13b63990d2c1bdc708d6b9ddb5b5f diff --git a/client_test.go b/client_test.go index 22cc401..82756c8 100644 --- a/client_test.go +++ b/client_test.go @@ -105,7 +105,6 @@ func TestNewClient(t *testing.T) { } conn.inbound <- "foo" event = <-sink - ts1 := client.timestamp if (event.event_type != EVENT_MSG) || (event.text != "foo") { t.Fatal("no first MSG", event) } @@ -115,9 +114,6 @@ func TestNewClient(t *testing.T) { t.Fatal("no second MSG", event) } conn.inbound <- "" - if client.timestamp.Before(ts1) || client.timestamp.Equal(ts1) { - t.Fatal("timestamp updating") - } event = <-sink if event.event_type != EVENT_DEL { t.Fatal("no client termination", event)