Skip to content

Commit 7b189e2

Browse files
author
Jason Kridner
committed
wired_basic_test.js: updated function names
1 parent e893325 commit 7b189e2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/wired_basic_test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
var b = require('bonescript');
22

3-
b.setDate(Date().toString(), doEcho);
3+
b.setDate(Date().toString(), onSetDate);
44

5-
function doEcho(x) {
5+
function onSetDate(x) {
66
if(x.stdout !== null) {
77
err('setDate returned ' + JSON.stringify(x));
88
}
9-
b.echo('test', doGetPlatform);
9+
b.echo('test', onEcho);
1010
}
1111

12-
function doGetPlatform(x) {
12+
function onEcho(x) {
1313
if(x.data != 'test') err('doEcho returned ' + JSON.stringify(x));
1414
b.getPlatform(onGetPlatform);
1515
}

0 commit comments

Comments
 (0)