Sfoglia il codice sorgente

lz4block: Remove unused test code

greatroar 5 anni fa
parent
commit
617299b884
1 ha cambiato i file con 0 aggiunte e 9 eliminazioni
  1. 0 9
      internal/lz4block/decode_test.go

+ 0 - 9
internal/lz4block/decode_test.go

@@ -2,19 +2,10 @@ package lz4block
 
 
 import (
 import (
 	"bytes"
 	"bytes"
-	"encoding/base64"
 	"strings"
 	"strings"
 	"testing"
 	"testing"
 )
 )
 
 
-func unbase64(in string) []byte {
-	p, err := base64.StdEncoding.DecodeString(in)
-	if err != nil {
-		panic(err)
-	}
-	return p
-}
-
 func TestBlockDecode(t *testing.T) {
 func TestBlockDecode(t *testing.T) {
 	appendLen := func(p []byte, size int) []byte {
 	appendLen := func(p []byte, size int) []byte {
 		for size > 0xFF {
 		for size > 0xFF {