#NEWLINE# def testCanLexLongStringWithEmbeddedQuotes( self ) : #NEWLINE# #INDENT# l = parsing . CommandLexer ( 'commit -m "foo \'bar\' foo"' ) #NEWLINE# self . assertEqual ( list ( l ) , [ 'commit' , '-m' , "foo 'bar' foo" ] ) #NEWLINE# l = parsing . CommandLexer ( 'commit -m "foo \'bar fuzz\' foo"' ) #NEWLINE# self . assertEqual ( list ( l ) , [ 'commit' , '-m' , "foo 'bar fuzz' foo" ] )