summaryrefslogtreecommitdiff
path: root/tests/reverse/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reverse/main_test.go')
-rw-r--r--tests/reverse/main_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/reverse/main_test.go b/tests/reverse/main_test.go
index 3d10750..f59386b 100644
--- a/tests/reverse/main_test.go
+++ b/tests/reverse/main_test.go
@@ -1,6 +1,7 @@
package reverse_test
import (
+ "bytes"
"os"
"testing"
@@ -8,8 +9,10 @@ import (
)
var dirA, dirB, dirC string
+var x240 string
func TestMain(m *testing.M) {
+ x240 = string(bytes.Repeat([]byte("x"), 240))
dirA = test_helpers.TmpDir + "/a"
dirB = test_helpers.TmpDir + "/b"
dirC = test_helpers.TmpDir + "/c"