Skip to content

Commit 94299df

Browse files
committed
Fixed unit-tests.
1 parent 56eb2dc commit 94299df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/test-framework-debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function test_routing(next) {
303303
utils.request(url + 'rest/', ['head'], null, function(error, data, code, headers) {
304304
if (error)
305305
throw error;
306-
assert(data === '', 'REST - HEAD');
306+
assert(data.connection === 'close', 'REST - HEAD');
307307
complete();
308308
});
309309
});

test/test-framework-release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function test_routing(next) {
303303
utils.request(url + 'rest/', ['head'], null, function(error, data, code, headers) {
304304
if (error)
305305
throw error;
306-
assert(data === '', 'REST - HEAD');
306+
assert(data.connection === 'close', 'REST - HEAD');
307307
complete();
308308
});
309309
});

0 commit comments

Comments
 (0)