forked from mirrors/linux
		
	Here are the test cases I used for developing the text expansion feature. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			222 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			222 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0
 | 
						|
"""
 | 
						|
Built-in function tests.
 | 
						|
"""
 | 
						|
 | 
						|
def test(conf):
 | 
						|
    assert conf.oldaskconfig() == 0
 | 
						|
    assert conf.stdout_contains('expected_stdout')
 | 
						|
    assert conf.stderr_matches('expected_stderr')
 |