mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	Here are the test cases I used for developing the text expansion feature. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			188 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			188 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0
 | 
						|
"""
 | 
						|
Variable and user-defined function tests.
 | 
						|
"""
 | 
						|
 | 
						|
def test(conf):
 | 
						|
    assert conf.oldaskconfig() == 0
 | 
						|
    assert conf.stderr_matches('expected_stderr')
 |