summaryrefslogtreecommitdiff
path: root/server_config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'server_config_test.go')
-rw-r--r--server_config_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/server_config_test.go b/server_config_test.go
index 74878782..1831ae95 100644
--- a/server_config_test.go
+++ b/server_config_test.go
@@ -81,3 +81,12 @@ func Test_ServerConfig_ErrorMethod(t *testing.T) {
assert.Nil(t, f)
assert.Error(t, err)
}
+
+func Test_ServerConfig_Cmd(t *testing.T) {
+ cfg := &ServerConfig{
+ Command: "php php-src/tests/client.php pipes",
+ }
+
+ cmd := cfg.makeCommand()
+ assert.NotNil(t, cmd)
+}