summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/test/Ice/ami/Client.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/test/Ice/ami/Client.js b/js/test/Ice/ami/Client.js
index 6bae556a65c..5f3a2decfb7 100644
--- a/js/test/Ice/ami/Client.js
+++ b/js/test/Ice/ami/Client.js
@@ -71,7 +71,9 @@
{
test(count === 0);
b1 = p.ice_batchOneway();
- test(b1.opBatch());
+ bf = b1.opBatch();
+ test(bf.isCompleted());
+ test(!bf.isSent());
test(b1.opBatch());
return b1.ice_flushBatchRequests();
}