diff options
Diffstat (limited to 'Godeps/_workspace/src/gopkg.in/bufio.v1/export_test.go')
-rw-r--r-- | Godeps/_workspace/src/gopkg.in/bufio.v1/export_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/gopkg.in/bufio.v1/export_test.go b/Godeps/_workspace/src/gopkg.in/bufio.v1/export_test.go new file mode 100644 index 000000000..16629d022 --- /dev/null +++ b/Godeps/_workspace/src/gopkg.in/bufio.v1/export_test.go @@ -0,0 +1,9 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package bufio + +func (b *Buffer) Cap() int { + return cap(b.buf) +} |