mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	Fix newly found issue
This commit is contained in:
		
							parent
							
								
									cbf5d3de74
								
							
						
					
					
						commit
						3340613a6a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -73,7 +73,7 @@ class Ameba::Spec::AnnotatedSource | |||
|   private def message_to_regex(expected_annotation) | ||||
|     String.build do |io| | ||||
|       offset = 0 | ||||
|       while (index = expected_annotation.index(ABBREV, offset)) | ||||
|       while index = expected_annotation.index(ABBREV, offset) | ||||
|         io << Regex.escape(expected_annotation[offset...index]) | ||||
|         io << ".*?" | ||||
|         offset = index + ABBREV.size | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue