mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-17 02:53:11 -06:00
Fix c/p error and typo
This commit is contained in:
parent
6324d5412f
commit
b455c9fca4
|
|
@ -47,7 +47,7 @@ func TestCollect(t *testing.T) {
|
|||
}
|
||||
version, ok := data["version"]
|
||||
if !ok {
|
||||
t.Errorf("missing database_engine in JSON request: %+v", data)
|
||||
t.Errorf("missing version in JSON request: %+v", data)
|
||||
}
|
||||
if version != internal.VersionString() {
|
||||
t.Errorf("unexpected version: %q, expected %q", version, internal.VersionString())
|
||||
|
|
@ -77,7 +77,7 @@ func TestCollect(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-time.After(time.Second * 5):
|
||||
t.Errorf("timed out waitigf for response")
|
||||
t.Error("timed out waiting for response")
|
||||
case <-receivedRequest:
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue