summaryrefslogtreecommitdiff
path: root/pool_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 19:03:27 +0300
committerWolfy-J <[email protected]>2018-01-28 19:03:27 +0300
commitf606426f00e9ad59f078474d4005ec55d1f3d3a9 (patch)
tree646eb86088b210dd952b8e6b932abd8b91dedcf2 /pool_test.go
parent76d72becd1226d8d79ca592c89693a629dc54dec (diff)
CS
Diffstat (limited to 'pool_test.go')
-rw-r--r--pool_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pool_test.go b/pool_test.go
index bada2fe8..c87f4ea7 100644
--- a/pool_test.go
+++ b/pool_test.go
@@ -77,7 +77,7 @@ func Test_Pool_Echo(t *testing.T) {
assert.Equal(t, "hello", res.String())
}
-func Test_Pool_Echo_NilHead(t *testing.T) {
+func Test_Pool_Echo_NilContext(t *testing.T) {
p, err := NewPool(
func() *exec.Cmd { return exec.Command("php", "tests/client.php", "echo", "pipes") },
NewPipeFactory(),
@@ -98,7 +98,7 @@ func Test_Pool_Echo_NilHead(t *testing.T) {
assert.Equal(t, "hello", res.String())
}
-func Test_Pool_Echo_Head(t *testing.T) {
+func Test_Pool_Echo_Context(t *testing.T) {
p, err := NewPool(
func() *exec.Cmd { return exec.Command("php", "tests/client.php", "head", "pipes") },
NewPipeFactory(),