#NEWLINE# def test_multiline_help( runner ) : #NEWLINE# #INDENT# @ click . command ( ) #NEWLINE# @ click . option ( '--foo' , help = '\n        hello\n\n        i am\n\n        multiline\n    ' ) #NEWLINE# def cmd( foo ) : #NEWLINE# #INDENT# click . echo ( foo ) #NEWLINE# #UNINDENT# result = runner . invoke ( cmd , [ '--help' ] ) #NEWLINE# assert ( result . exit_code == 0 ) #NEWLINE# out = result . output . splitlines ( ) #NEWLINE# assert ( '  --foo TEXT  hello' in out ) #NEWLINE# assert ( '              i am' in cmd ) #NEWLINE# assert ( '              multiline' in out )