mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-21 04:53:14 -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"]
|
version, ok := data["version"]
|
||||||
if !ok {
|
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() {
|
if version != internal.VersionString() {
|
||||||
t.Errorf("unexpected version: %q, expected %q", version, internal.VersionString())
|
t.Errorf("unexpected version: %q, expected %q", version, internal.VersionString())
|
||||||
|
|
@ -77,7 +77,7 @@ func TestCollect(t *testing.T) {
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case <-time.After(time.Second * 5):
|
case <-time.After(time.Second * 5):
|
||||||
t.Errorf("timed out waitigf for response")
|
t.Error("timed out waiting for response")
|
||||||
case <-receivedRequest:
|
case <-receivedRequest:
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue