We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e893325 commit 7b189e2Copy full SHA for 7b189e2
1 file changed
test/wired_basic_test.js
@@ -1,15 +1,15 @@
1
var b = require('bonescript');
2
3
-b.setDate(Date().toString(), doEcho);
+b.setDate(Date().toString(), onSetDate);
4
5
-function doEcho(x) {
+function onSetDate(x) {
6
if(x.stdout !== null) {
7
err('setDate returned ' + JSON.stringify(x));
8
}
9
- b.echo('test', doGetPlatform);
+ b.echo('test', onEcho);
10
11
12
-function doGetPlatform(x) {
+function onEcho(x) {
13
if(x.data != 'test') err('doEcho returned ' + JSON.stringify(x));
14
b.getPlatform(onGetPlatform);
15
0 commit comments