зеркало из https://github.com/mozilla/pjs.git
removed reference to nsString2
This commit is contained in:
Родитель
ccd0e4b9e7
Коммит
b4fc6406c5
|
@ -525,7 +525,7 @@ int CStringTester::TestSearching(){
|
|||
|
||||
//now try substringsearching with RFind() using offset and count...
|
||||
{
|
||||
nsString2 s1("abcdefghijklmnopqrstuvwxyz");
|
||||
nsString s1("abcdefghijklmnopqrstuvwxyz");
|
||||
|
||||
PRInt32 pos= s1.RFind("ghi"); //first search from end using count
|
||||
NS_ASSERTION(pos==6,"Error: RFind() with offset and count"); //THIS WILL SUCCEED!
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsString2.h"
|
||||
#include "nsString.h"
|
||||
|
||||
#include "prlog.h"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче