diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-08-03 16:54:35 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-08-03 16:54:35 +0200 |
commit | e390fedde07591d46022b7da5692af3fc2e782c6 (patch) | |
tree | af2eb5968edb6324ba4d6d5cbd623daddb57edda /src/pkg/runtime/debug/stack_test.go | |
parent | 041b8f207274852d514bcfa6e5941eefe61e9f60 (diff) | |
parent | 28592ee1ea1f5cdffcf85472f9de0285d928cf12 (diff) | |
download | golang-e390fedde07591d46022b7da5692af3fc2e782c6.tar.gz |
Merge commit 'upstream/59' into debian-sid
Diffstat (limited to 'src/pkg/runtime/debug/stack_test.go')
-rw-r--r-- | src/pkg/runtime/debug/stack_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/debug/stack_test.go b/src/pkg/runtime/debug/stack_test.go index f4bdc4624..4aeea13ff 100644 --- a/src/pkg/runtime/debug/stack_test.go +++ b/src/pkg/runtime/debug/stack_test.go @@ -35,7 +35,7 @@ func (t T) method() []byte { */ func TestStack(t *testing.T) { b := T(0).method() - lines := strings.Split(string(b), "\n", -1) + lines := strings.Split(string(b), "\n") if len(lines) <= 6 { t.Fatal("too few lines") } |