소스 검색

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)