From 63fe55e4ed12ad831a12e0b4a6c680e6ea1a708e Mon Sep 17 00:00:00 2001 From: roblabla Date: Fri, 6 Mar 2015 23:37:47 +0000 Subject: [PATCH] Fix test and benchmark on node 0.10 --- test/benchmark.js | 2 +- test/test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/benchmark.js b/test/benchmark.js index d48e60c..d84cf2e 100644 --- a/test/benchmark.js +++ b/test/benchmark.js @@ -35,7 +35,7 @@ console.log('Finished write test in ' + (Date.now() - start) / 1000 + ' seconds' var testDataRead = [ {id: 0x00, params: {keepAliveId: 957759560}}, - {id: 0x02, params: {message: ' Hello World!'}}, + {id: 0x02, params: {message: ' Hello World!', position: 0}}, {id: 0x08, params: {x: 6.5, y: 65.62, z: 7.5, yaw: 0, pitch: 0, flags: 0}}, ]; diff --git a/test/test.js b/test/test.js index 89ff055..ff5d698 100644 --- a/test/test.js +++ b/test/test.js @@ -90,7 +90,7 @@ var values = { 'double': 99999.2222, 'float': -333.444, 'slot': { - id: 5, + blockId: 5, itemCount: 56, itemDamage: 2, nbtData: { root: "test", value: {