|  |  | @ -116,6 +116,27 @@ class LineLengthTestCase(RuleTestCase): | 
			
		
	
		
		
			
				
					
					|  |  |  |                    'long_line: http://localhost/very/very/long/url\n' |  |  |  |                    'long_line: http://localhost/very/very/long/url\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |                    '...\n', conf, problem=(2, 21)) |  |  |  |                    '...\n', conf, problem=(2, 21)) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         conf = 'line-length: {max: 20, allow-non-breakable-words: true}' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         self.check('---\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    '# http://www.verylongurlurlurlurlurlurlurlurl.com\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    'key:\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    '  subkey: value\n', conf) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         self.check('---\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    '## http://www.verylongurlurlurlurlurlurlurlurl.com\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    'key:\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    '  subkey: value\n', conf) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         self.check('---\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    '# # http://www.verylongurlurlurlurlurlurlurlurl.com\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    'key:\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    '  subkey: value\n', conf, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    problem=(2, 21)) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         self.check('---\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    '#A http://www.verylongurlurlurlurlurlurlurlurl.com\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    'key:\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    '  subkey: value\n', conf, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    problem1=(2, 2, 'comments'), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    problem2=(2, 21, 'line-length')) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         conf = ('line-length: {max: 20, allow-non-breakable-words: true}\n' |  |  |  |         conf = ('line-length: {max: 20, allow-non-breakable-words: true}\n' | 
			
		
	
		
		
			
				
					
					|  |  |  |                 'trailing-spaces: disable') |  |  |  |                 'trailing-spaces: disable') | 
			
		
	
		
		
			
				
					
					|  |  |  |         self.check('---\n' |  |  |  |         self.check('---\n' | 
			
		
	
	
		
		
			
				
					|  |  | 
 |