aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-10-06 10:51:18 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-10-06 10:51:18 -0700
commit2c641c65e4ede79b9291d7569d53dc68b719d243 (patch)
tree9017cf50e737364e9a1575c3b38ae7873bfb15a8 /src
parent0f93e435a1cf4ab16076de32278839fcc51efcb9 (diff)
Fixed up Node tests after math folder move
Diffstat (limited to 'src')
-rw-r--r--src/node/test/async_test.js4
-rw-r--r--src/node/test/math/math_server.js2
-rw-r--r--src/node/test/math_client_test.js4
-rw-r--r--src/node/test/surface_test.js2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/node/test/async_test.js b/src/node/test/async_test.js
index e81de62bc9..ce3ce50a2d 100644
--- a/src/node/test/async_test.js
+++ b/src/node/test/async_test.js
@@ -36,7 +36,7 @@
var assert = require('assert');
var grpc = require('..');
-var math = grpc.load(__dirname + '/../examples/math.proto').math;
+var math = grpc.load(__dirname + '/math/math.proto').math;
/**
@@ -47,7 +47,7 @@ var math_client;
/**
* Server to test against
*/
-var getServer = require('../examples/math_server.js');
+var getServer = require('./math/math_server.js');
var server = getServer();
diff --git a/src/node/test/math/math_server.js b/src/node/test/math/math_server.js
index a4b237aeeb..9d06596f3d 100644
--- a/src/node/test/math/math_server.js
+++ b/src/node/test/math/math_server.js
@@ -33,7 +33,7 @@
'use strict';
-var grpc = require('..');
+var grpc = require('../..');
var math = grpc.load(__dirname + '/math.proto').math;
/**
diff --git a/src/node/test/math_client_test.js b/src/node/test/math_client_test.js
index 6a6607ec74..be1d1182be 100644
--- a/src/node/test/math_client_test.js
+++ b/src/node/test/math_client_test.js
@@ -36,7 +36,7 @@
var assert = require('assert');
var grpc = require('..');
-var math = grpc.load(__dirname + '/../examples/math.proto').math;
+var math = grpc.load(__dirname + '/math/math.proto').math;
/**
* Client to use to make requests to a running server.
@@ -46,7 +46,7 @@ var math_client;
/**
* Server to test against
*/
-var getServer = require('../examples/math_server.js');
+var getServer = require('./math/math_server.js');
var server = getServer();
diff --git a/src/node/test/surface_test.js b/src/node/test/surface_test.js
index 989fe5fd65..85f399c448 100644
--- a/src/node/test/surface_test.js
+++ b/src/node/test/surface_test.js
@@ -41,7 +41,7 @@ var ProtoBuf = require('protobufjs');
var grpc = require('..');
-var math_proto = ProtoBuf.loadProtoFile(__dirname + '/../examples/math.proto');
+var math_proto = ProtoBuf.loadProtoFile(__dirname + '/math/math.proto');
var mathService = math_proto.lookup('math.Math');