mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -04:00
Merge pull request #269 from roblabla/feature-fixTests
Fix tests : client.session.username doesn't exist
This commit is contained in:
commit
4c14c8f859
@ -270,7 +270,7 @@ mc.supportedVersions.forEach(function(supportedVersion){
|
||||
var lineListener=function(line) {
|
||||
var match = line.match(/\[Server thread\/INFO\]: <(.+?)> (.+)/);
|
||||
if(!match) return;
|
||||
assert.strictEqual(match[1], client.session.username);
|
||||
assert.strictEqual(match[1], client.username);
|
||||
assert.strictEqual(match[2], "hello everyone; I have logged in.");
|
||||
wrap.writeServer("say hello\n");
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user