Localize text data to test function

develop
Michael Yang 2014-01-07 22:19:44 -05:00
rodzic eccc994d77
commit 4e1474fb23
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -8,11 +8,8 @@ import (
"testing"
)
var (
textData = []byte{84, 80, 69, 49, 0, 0, 0, 13, 0, 0, 0, 77, 105, 99, 104, 97, 101, 108, 32, 89, 97, 110, 103}
)
func TestV23Frame(t *testing.T) {
textData := []byte{84, 80, 69, 49, 0, 0, 0, 13, 0, 0, 0, 77, 105, 99, 104, 97, 101, 108, 32, 89, 97, 110, 103}
frame := ParseV23Frame(bytes.NewReader(textData))
textFrame, ok := frame.(*TextFrame)
if !ok {