Fix minor typo
This commit is contained in:
parent
43d10ed856
commit
d974028fce
4 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ func TestGoE(t *testing.T) {
|
|||
var wb api.Charger = NewGoE("foo")
|
||||
|
||||
if _, ok := wb.(api.MeterCurrent); !ok {
|
||||
t.Error("missing MeterCurrents interface")
|
||||
t.Error("missing MeterCurrent interface")
|
||||
}
|
||||
|
||||
if _, ok := wb.(api.ChargeRater); !ok {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ func TestKeba(t *testing.T) {
|
|||
}
|
||||
|
||||
if _, ok := wb.(api.MeterCurrent); !ok {
|
||||
t.Error("missing MeterCurrents interface")
|
||||
t.Error("missing MeterCurrent interface")
|
||||
}
|
||||
|
||||
if _, ok := wb.(api.ChargeRater); !ok {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@ func TestNRGKickBLE(t *testing.T) {
|
|||
var wb api.Charger = &NRGKickBLE{}
|
||||
|
||||
if _, ok := wb.(api.MeterCurrent); !ok {
|
||||
t.Error("missing MeterCurrents interface")
|
||||
t.Error("missing MeterCurrent interface")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,6 @@ func TestNRGKickConnect(t *testing.T) {
|
|||
}
|
||||
|
||||
if _, ok := wb.(api.MeterCurrent); !ok {
|
||||
t.Error("missing MeterCurrents interface")
|
||||
t.Error("missing MeterCurrent interface")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue