Revision: 7745f4d5ab94
Branch: default
Author: Pekka Klärck
Date: Fri Feb 7 08:57:15 2014 UTC
Log: String: Fixed typo in docs.
New issue
Summary: String library: Typo in `Remove String` example
Owner: pekka.klarck
Status: Done
Labels: Type-Defect Target-2.8.4 Priority-Low
`Remove String` example used `Remove From String`. Fixed it.
http://code.google.com/p/robotframework/source/detail?r=7745f4d5ab94
Modified:
/src/robot/libraries/String.py
=======================================
--- /src/robot/libraries/String.py Thu Jan 23 14:00:53 2014 UTC
+++ /src/robot/libraries/String.py Fri Feb 7 08:57:15 2014 UTC
@@ -291,10 +291,10 @@
string is not altered.
Examples:
- | ${str} = | Remove From String | Robot Framework | work |
- | Should Be Equal | ${str} | Robot Frame |
- | ${str} = | Remove From String | Robot Framework | o | bt |
- | Should Be Equal | ${str} | R Framewrk |
+ | ${str} = | Remove String | Robot Framework | work |
+ | Should Be Equal | ${str} | Robot Frame |
+ | ${str} = | Remove String | Robot Framework | o | bt |
+ | Should Be Equal | ${str} | R Framewrk |
New in Robot Framework 2.8.2.
"""
@@ -312,7 +312,7 @@
used if there is a need to remove only a certain number of
occurrences.
- New in Robot Framework 2.8.2
+ New in Robot Framework 2.8.2.
"""
for pattern in patterns:
string = self.replace_string_using_regexp(string, pattern, '')
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.