mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	Merge pull request #255 from straight-shoota/fix/unknown-token-error
Fix unexpected token compiler error match
This commit is contained in:
		
						commit
						c7f1f94cca
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -31,7 +31,7 @@ module Ameba::Rule::Lint | |||
| 
 | ||||
|       issue.rule.should_not be_nil | ||||
|       issue.location.to_s.should eq "source.cr:1:11" | ||||
|       issue.message.should eq "unexpected token: end (expected ';' or newline)" | ||||
|       issue.message.should match /unexpected token: "?end"? \(expected ["'];["'] or newline\)/ | ||||
|     end | ||||
| 
 | ||||
|     it "has highest severity" do | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue