Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / libraries / SubStrings.robot
index ef291b1afd111265a462be8550289238e1de6ee2..9db03bce635e76a7666064910e8cd431ced0d85a 100644 (file)
@@ -5,11 +5,13 @@ Documentation     Utility keywords for verification of substring occurrence
 Should Contain All Sub Strings
     [Arguments]    ${attr}    @{checked}
     [Documentation]    Passes if ${attr} includes all substrings from @{checked}, fails otherwise
-    : FOR    ${item}    IN    @{checked}
-    \    Should Contain    ${attr}    ${item}
+    FOR    ${item}    IN    @{checked}
+        Should Contain    ${attr}    ${item}
+    END
 
 Should Not Contain Any Sub Strings
     [Arguments]    ${attr}    @{checked}
     [Documentation]    Fails if ${attr} includes at least one substring from @{checked}, passes otherwise
-    : FOR    ${item}    IN    @{checked}
-    \    Should Not Contain    ${attr}    ${item}
+    FOR    ${item}    IN    @{checked}
+        Should Not Contain    ${attr}    ${item}
+    END