Unit tests update
This commit is contained in:
parent
74629b9ffb
commit
f42175c8da
|
@ -1700,6 +1700,9 @@ bool FString::operator >= (const char c) const
|
|||
//----------------------------------------------------------------------
|
||||
bool FString::operator > (const FString& s) const
|
||||
{
|
||||
if ( ! (string || s.string) )
|
||||
return false;
|
||||
|
||||
if ( ! s )
|
||||
return true;
|
||||
|
||||
|
@ -1709,9 +1712,6 @@ bool FString::operator > (const FString& s) const
|
|||
if ( ! string && s.string )
|
||||
return false;
|
||||
|
||||
if ( ! (string || s.string) )
|
||||
return false;
|
||||
|
||||
return ( std::wcscmp(string, s.string) > 0 );
|
||||
}
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ void FStringTest::NoArgumentTest()
|
|||
CPPUNIT_ASSERT ( ! empty.includes(std::wstring(L"123")) );
|
||||
CPPUNIT_ASSERT ( ! empty.includes(FString("123")) );
|
||||
|
||||
std::stringstream out;
|
||||
std::ostringstream out;
|
||||
out << empty;
|
||||
CPPUNIT_ASSERT ( out.str() == "" );
|
||||
|
||||
|
|
Loading…
Reference in New Issue