formula_desc_cop_spec: tweak for new whitespace check
This commit is contained in:
		
							parent
							
								
									73194b460d
								
							
						
					
					
						commit
						9d7f872ad6
					
				@ -65,7 +65,7 @@ describe RuboCop::Cop::FormulaAuditStrict::Desc do
 | 
				
			|||||||
      expect_offense(<<~RUBY, "/homebrew-core/Formula/foo.rb")
 | 
					      expect_offense(<<~RUBY, "/homebrew-core/Formula/foo.rb")
 | 
				
			||||||
        class Foo < Formula
 | 
					        class Foo < Formula
 | 
				
			||||||
          url 'http://example.com/foo-1.0.tgz'
 | 
					          url 'http://example.com/foo-1.0.tgz'
 | 
				
			||||||
          desc 'An '
 | 
					          desc 'An aardvark'
 | 
				
			||||||
                ^^^ Description shouldn\'t start with an indefinite article i.e. \"An\"
 | 
					                ^^^ Description shouldn\'t start with an indefinite article i.e. \"An\"
 | 
				
			||||||
        end
 | 
					        end
 | 
				
			||||||
      RUBY
 | 
					      RUBY
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user