Coverage in console

This commit is contained in:
andronache
2021-02-01 15:31:19 +02:00
committed by Dan Christian Bogos
parent 0f19ba309d
commit 4a886761bc

View File

@@ -120,3 +120,16 @@ func TestCmdParseLocalExecuteCase4(t *testing.T) {
t.Errorf("Expected <%+v>, Received <%+v>", expected, err)
}
}
func TestCmdParseLocalExecuteCase5(t *testing.T) {
// for coverage purpose
testStruct := &CmdParse{
rpcParams: &AttrParse{
Expression: "~test_exp",
Value: "~test_value",
},
}
testStruct.LocalExecute()
}