瀏覽代碼

* Remove redundant if

git-svn-id: trunk@25378 -
michael 12 年之前
父節點
當前提交
901f5742b8
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      packages/fcl-fpcunit/src/fpcunit.pp

+ 0 - 1
packages/fcl-fpcunit/src/fpcunit.pp

@@ -588,7 +588,6 @@ class procedure TAssert.AssertEquals(const AMessage: string; Expected, Actual: T
   end;
 
 begin
-  If (Expected<>Nil) then
   AssertTrue(AMessage + ComparisonMsg(GetN(Expected), GetN(Actual)), Expected = Actual);
 end;