From 512c326e8be8b45dccf7e8357b5ee371c3fadc9f Mon Sep 17 00:00:00 2001 From: Tomek Rejment Date: Wed, 6 Mar 2024 14:47:41 +0100 Subject: [PATCH] Fixed assertAsyncField params --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 5dfd2cd5..720df32d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -399,8 +399,8 @@ You can control the timeout behavior by passing delay and maxAttempts, as follow ``` '2 second time out, 3 tries - netTask = createObject("roSGNode", "NetworkTask", 2000, 3) - m.assertAsyncField(netTask, "output") + netTask = createObject("roSGNode", "NetworkTask") + m.assertAsyncField(netTask, "output", 2000, 3) ``` If the field does not change during the retry period, the assertion will fail.