lbcd/internal_test.go
2014-06-13 09:49:08 -05:00

14 lines
228 B
Go

package btcnet
import (
"testing"
)
func TestInvalidShaStr(t *testing.T) {
defer func() {
if r := recover(); r == nil {
t.Errorf("Expected panic for invalid sha string, got nil")
}
}()
newShaHashFromStr("banana")
}