.upptst fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@7122 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-01 19:26:49 +00:00
parent 38d9f5c26d
commit cb331ffcb9
4 changed files with 3 additions and 5 deletions

View file

@ -5,5 +5,5 @@ file
String.cpp;
mainconfig
"" = "EXPERIMENTAL";
"" = "";

View file

@ -60,7 +60,7 @@ void CheckReplace()
x.Replace("test", "run");
DUMP(x);
T y("Just another run");
ASSERT(x == T('_', 20) + y + T('_', 20) + y + T('_', 20));
ASSERT(x == T('_', 5) + y + T('_', 5) + y + T('_', 5));
}

View file

@ -96,8 +96,6 @@ void ATest()
ASSERT("xx" + x == Str("xxab"));
ASSERT(x + 'z' == Str("abz"));
ASSERT('z' + x == Str("zab"));
ASSERT(x + (int)'z' == Str("abz"));
ASSERT((int)'z' + x == Str("zab"));
Str xx = x;
Str bb = b;
Swap(b, x);

View file

@ -13,7 +13,7 @@ void CheckRawPickValue()
{
Vector<int> x;
x.Add(123);
Value v = RawPickToValue(x);
Value v = RawPickToValue(pick(x));
ASSERT(v.Is< Vector<int> >());
const Vector<int>& xx = v.To< Vector<int> >();
ASSERT(xx.GetCount() == 1);