# HG changeset patch # User sqwishy # Date 1392866871 28800 # Wed Feb 19 19:27:51 2014 -0800 # Node ID 705458d02ecb92e292ddbab33e1d00498ce705ef # Parent a8361125163ac5deb3fd3a36c9fdf6205eaee729 Fixes the packety tests diff --git a/gorcon/gorcon_test.go b/gorcon/gorcon_test.go --- a/gorcon/gorcon_test.go +++ b/gorcon/gorcon_test.go @@ -23,7 +23,7 @@ func DumpCommandString(cmdtype CmdType, body string) ([]byte, error) { var buf bytes.Buffer - if err := WriteCommandString(&buf, cmdtype, body); err != nil { + if err := writeCommandString(&buf, 0, cmdtype, body); err != nil { return nil, err } return ioutil.ReadAll(&buf)