Browse Source

* Small fix after recent changes to tests list in testsuite

git-svn-id: trunk@32868 -
michael 9 years ago
parent
commit
b1c5077c96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-fpcunit/src/consoletestrunner.pas

+ 1 - 1
packages/fcl-fpcunit/src/consoletestrunner.pas

@@ -340,7 +340,7 @@ procedure TTestRunner.DoRun;
         if (test is ttestsuite) then
           begin
           for I := 0 to TTestSuite(test).Tests.Count - 1 do
-             CheckTestRegistry (TTest((test as TTestSuite).Tests[I]), c, res)
+             CheckTestRegistry ((test as TTestSuite).Test[I], c, res)
           end
         else if (test is TTestDecorator) then
           begin