浏览代码

Fixed wrong keyword in section called (#1284)

jthoene 8 年之前
父节点
当前提交
c4de3c71ec
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      plugins/org.yakindu.sct.doc.user/src/user-guide/sctunit.textile

+ 3 - 3
plugins/org.yakindu.sct.doc.user/src/user-guide/sctunit.textile

@@ -263,11 +263,11 @@ assert myVariable3 => 41
 assert InterfaceName.MyEvent == 5
 
 p. ==<!-- End sctunit_keyword_assert -->==
-==<!-- Start sctunit_keyword_assert_called -->==
+==<!-- Start sctunit_keyword_called -->==
 
-h4. assert called
+h4. called
 
-The expression followed by the 'assert called' keywords expects a reference to an operation that will be called and optional the keyword 'with' and the parameters of the call. If the referenced operation wasn't called or wasn't called with the right parameters, the test will fail. The following example shows a statement that asserts if a operation was called or not.
+The expression followed by the 'called' keyword expects a reference to an operation that will be called and optional the keyword 'with' and the parameters of the call. If the referenced operation wasn't called or wasn't called with the right parameters, the test will fail. The following example shows a statement that asserts if a operation was called or not.
 
 bc(prettyprint). assert called operationname
 assert called operationname with (param1, param2)