#NEWLINE# def test_get_flags( self ) : #NEWLINE# #INDENT# ensure_not_ui_thread ( ) #NEWLINE# file_path = path . join ( TEST_GOPATH , 'src' , 'good' , 'rune_len.go' ) #NEWLINE# begin_event = threading . Event ( ) #NEWLINE# def _run_build( view , result_queue ) : #NEWLINE# #INDENT# sublime . set_clipboard ( 'github.com/golang/example/hello' ) #NEWLINE# notify_user ( 'Paste from the clipboard into the input panel' ) #NEWLINE# begin_event . set ( ) #NEWLINE# view . window ( ) . run_command ( 'golang_build_get' , { #NEWLINE# #INDENT# 'flags' : [ '-v' , '-d' ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# result_queue = open_file ( file_path , VIEW_SETTINGS , _run_build ) #NEWLINE# begin_event . wait ( ) #NEWLINE# result = wait_build ( result_queue ) #NEWLINE# self . assertEqual ( 'success' , result ) #NEWLINE# self . assertTrue ( confirm_user ( 'Did "go get" download but not install?' ) )