aboutsummaryrefslogtreecommitdiff
path: root/tests/reverse/longname_perf_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reverse/longname_perf_test.go')
-rw-r--r--tests/reverse/longname_perf_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/reverse/longname_perf_test.go b/tests/reverse/longname_perf_test.go
index f170ad7..1707cea 100644
--- a/tests/reverse/longname_perf_test.go
+++ b/tests/reverse/longname_perf_test.go
@@ -1,7 +1,6 @@
package reverse_test
import (
- "bytes"
"fmt"
"os"
"testing"
@@ -13,7 +12,6 @@ func genName(i int, postfix string) string {
// Create 10000 files with long names
func generateLongnameFiles(dir string) {
- x240 := string(bytes.Repeat([]byte("x"), 240))
for i := 0; i < 100000; i++ {
n := genName(i, x240)
f, err := os.Create(dir + "/" + n)