summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-05-29 13:11:42 +0300
committerWolfy-J <[email protected]>2018-05-29 13:11:42 +0300
commitebef51e570fbb1d8761275b44bbdbf2ea4dd33a6 (patch)
tree8211b55ef5d8e35c2f1c1431539ff596c824262f
parent0479f577e1f9992e425f0810736d54b024f30d6e (diff)
fixing tests
-rw-r--r--php/tests/client.php2
-rw-r--r--php/tests/slow-client.php2
-rw-r--r--socket_factory_test.go12
3 files changed, 8 insertions, 8 deletions
diff --git a/php/tests/client.php b/php/tests/client.php
index 6665db9f..fd5d60be 100644
--- a/php/tests/client.php
+++ b/php/tests/client.php
@@ -3,7 +3,7 @@
use Spiral\Goridge;
ini_set('display_errors', 'stderr');
-require dirname(dirname(__DIR__)) . "/vendor/autoload.php";
+require dirname(__DIR__) . "/../vendor/autoload.php";
if (count($argv) < 3) {
die("need 2 arguments");
diff --git a/php/tests/slow-client.php b/php/tests/slow-client.php
index f09142b5..2722868c 100644
--- a/php/tests/slow-client.php
+++ b/php/tests/slow-client.php
@@ -3,7 +3,7 @@
use Spiral\Goridge;
ini_set('display_errors', 'stderr');
-require dirname(__DIR__) . "/vendor/autoload.php";
+require dirname(__DIR__) . "/../vendor/autoload.php";
if (count($argv) < 3) {
die("need 2 arguments");
diff --git a/socket_factory_test.go b/socket_factory_test.go
index 87c8815b..4339b99c 100644
--- a/socket_factory_test.go
+++ b/socket_factory_test.go
@@ -159,7 +159,7 @@ func Test_Tcp_Echo(t *testing.T) {
}
func Test_Unix_Start(t *testing.T) {
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" {
t.Skip("not supported on " + runtime.GOOS)
}
@@ -184,7 +184,7 @@ func Test_Unix_Start(t *testing.T) {
}
func Test_Unix_Failboot(t *testing.T) {
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" {
t.Skip("not supported on " + runtime.GOOS)
}
@@ -204,7 +204,7 @@ func Test_Unix_Failboot(t *testing.T) {
}
func Test_Unix_Timeout(t *testing.T) {
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" {
t.Skip("not supported on " + runtime.GOOS)
}
@@ -224,7 +224,7 @@ func Test_Unix_Timeout(t *testing.T) {
}
func Test_Unix_Invalid(t *testing.T) {
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" {
t.Skip("not supported on " + runtime.GOOS)
}
@@ -243,7 +243,7 @@ func Test_Unix_Invalid(t *testing.T) {
}
func Test_Unix_Broken(t *testing.T) {
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" {
t.Skip("not supported on " + runtime.GOOS)
}
@@ -272,7 +272,7 @@ func Test_Unix_Broken(t *testing.T) {
}
func Test_Unix_Echo(t *testing.T) {
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" {
t.Skip("not supported on " + runtime.GOOS)
}