* tstring.cc (identitytest): s/remove/erase/.
From-SVN: r15886
This commit is contained in:
parent
da8c445d07
commit
38bab5d4c6
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Oct 10 00:40:31 1997 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* tstring.cc (identitytest): s/remove/erase/.
|
||||
|
||||
Thu Sep 25 19:48:22 1997 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* tstring.cc: Add some tests for the member templates.
|
||||
|
|
|
@ -177,7 +177,7 @@ void identitytest(string a, string b)
|
|||
|
||||
assert((a + b + a) == (a + (b + a)));
|
||||
|
||||
x.remove (x.rfind (b));
|
||||
x.erase (x.rfind (b));
|
||||
assert(x == a);
|
||||
|
||||
y.replace (0, y.rfind (b), b);
|
||||
|
|
Loading…
Add table
Reference in a new issue