mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
added blizzards tests for problems with |Substring|
This commit is contained in:
parent
e777b2b3db
commit
6951acdde0
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user