[KMTEST:FSRTL]

Fix assertion failure on checked builds

svn path=/trunk/; revision=58789
This commit is contained in:
Pierre Schweitzer
2013-04-20 12:54:38 +00:00
parent 13bb26cfcf
commit 301f9552c0
@@ -475,8 +475,12 @@ static VOID FsRtlIsDbcsInExpressionTest()
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
RtlInitAnsiString(&Name, " ");
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
RtlInitAnsiString(&Name, "");
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
if (!KmtIsCheckedBuild)
{
RtlInitAnsiString(&Name, "");
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
}
RtlInitAnsiString(&Name, ".");
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
RtlInitAnsiString(&Name, "1.txt");