summaryrefslogtreecommitdiff
path: root/pkg/test/env_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/test/env_test.go')
-rw-r--r--pkg/test/env_test.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkg/test/env_test.go b/pkg/test/env_test.go
index 5d6f03e..7a1cd64 100644
--- a/pkg/test/env_test.go
+++ b/pkg/test/env_test.go
@@ -5,13 +5,11 @@ import (
)
func TestEnv(t *testing.T) {
- const msg = "Hello, World!"
-
c, s := newClientServer(t)
defer closeClientServer(c, s)
- r := c.Send("echo %s", msg)
- if r != msg {
- t.Errorf("wrong reply: send '%s', recv '%s'", msg, r)
+ r := c.Send("echo %s", xData)
+ if r != xData {
+ t.Errorf("wrong reply: send '%s', recv '%s'", xData, r)
}
}