File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ public function testBrokenRulesetEmptyFile()
3939        $ standard__DIR__ .'/ProcessRulesetBrokenRulesetEmptyFileTest.xml ' ;
4040        $ confignew  ConfigDouble (["--standard= $ standard ]);
4141
42-         $ regex'`^Ruleset \S+ProcessRulesetBrokenRulesetEmptyFileTest\.xml is not valid\R$` ' ;
42+         $ regex'`^Ruleset \S+ProcessRulesetBrokenRulesetEmptyFileTest\.xml is not valid\R ' ;
43+         $ regex'(- On line 1, column 1: Document is empty\R)?$` ' ;
44+ 
4345        $ this expectRuntimeExceptionRegex ($ regex
4446
4547        new  Ruleset ($ config
@@ -80,7 +82,7 @@ public function testBrokenRulesetMultiError()
8082        $ regex'`^Ruleset \S+ProcessRulesetBrokenRulesetMultiErrorTest\.xml is not valid\R ' ;
8183        $ regex'- On line 8, column 12: Opening and ending tag mismatch: property line 7 and rule\R ' ;
8284        $ regex'- On line 10, column 11: Opening and ending tag mismatch: properties line 5 and ruleset\R ' ;
83-         $ regex'- On line 11, column 1: Premature end of data in tag rule line 4\R$` ' ;
85+         $ regex'( - On line 11, column 1: Premature end of data in tag rule line 4\R)? $` ;
8486
8587        $ this expectRuntimeExceptionRegex ($ regex
8688
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments