added blizzards tests for problems with |Substring|

This commit is contained in:
scc%mozilla.org 2000-06-21 02:06:29 +00:00
parent e777b2b3db
commit 6951acdde0

View File

@ -485,6 +485,18 @@ main()
}
{
const char *foo = "this is a really long string";
nsCString origString;
nsCString string2;
nsCString string3;
origString = foo;
string2 = Substring(origString, 0, 5);
string3 = Substring(origString, 6, origString.Length() - 6);
}
{
nsLiteralCString s13("He");
nsCAutoString s14("l");