Test was fixed

This commit is contained in:
2016-07-24 23:30:11 +05:00
parent cca88307cf
commit 5464cf0520

View File

@@ -64,7 +64,7 @@ func TestParseParams(t *testing.T) {
t.Error("RGB 000 expected")
}
cmd, ch, v, r, g, b = parseParams("")
cmd, ch, v, r, g, b = parseParams("/")
if cmd != "" || ch != -1 || v != 0 || r != 0 || g != 0 || b != 0 {
t.Error("Default values expected")