summaryrefslogtreecommitdiff
path: root/server_config_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 13:22:54 +0300
committerWolfy-J <[email protected]>2018-06-10 13:22:54 +0300
commit16a347283b52f5cf997f9994cba79bba86a428c3 (patch)
treeb892553f92d984595da4b5c08ced1572afba11c9 /server_config_test.go
parentdc56d924ac34252f1866dd067a9e80c30b0d133c (diff)
fixing tests
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)
+}