Commit 38bab5d4 by Jason Merrill Committed by Jason Merrill

* tstring.cc (identitytest): s/remove/erase/.

From-SVN: r15886
parent da8c445d
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment