Kaynağa Gözat

pastojs: fixed test

git-svn-id: trunk@43297 -
Mattias Gaertner 6 yıl önce
ebeveyn
işleme
03d003d0ba
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      packages/pastojs/tests/tcmodules.pas

+ 2 - 1
packages/pastojs/tests/tcmodules.pas

@@ -2443,8 +2443,9 @@ begin
   StartProgram(false);
   Add('{$modeswitch cblocks-}');
   Add('begin');
-  SetExpectedScannerError('Invalid mode switch: "cblocks-"',nErrInvalidModeSwitch);
   ConvertProgram;
+  CheckHint(mtWarning,nErrInvalidModeSwitch,'Warning: test1.pp(3,23) : Invalid mode switch: "cblocks"');
+  CheckResolverUnexpectedHints();
 end;
 
 procedure TTestModule.TestUnit_UseSystem;