<s> import sublime <EOL> from unittest import TestCase <EOL> version = sublime . version ( ) <EOL> class TestUFlag ( TestCase ) : <EOL> def setUp ( self ) : <EOL> self . view = sublime . active_window ( ) . new_file ( ) <EOL> s = sublime . load_settings ( "<STR_LIT>" ) <EOL> s . set ( "<STR_LIT>" , False ) <EOL> def tearDown ( self ) : <EOL> if self . view : <EOL> self . view . set_scratch ( True ) <EOL> self . view . window ( ) . run_command ( "<STR_LIT>" ) <EOL> def setText ( self , string ) : <EOL> self . view . settings ( ) . set ( "<STR_LIT>" , False ) <EOL> self . view . run_command ( "<STR_LIT>" , { "<STR_LIT>" : string } ) <EOL> def getRow ( self , row ) : <EOL> return self . view . substr ( self . view . line ( self . view . text_point ( row - <NUM_LIT:1> , <NUM_LIT:0> ) ) ) <EOL> def test_u_flag ( self ) : <EOL> string = "<STR_LIT>" <EOL> self . setText ( string ) <EOL> self . view . run_command ( "<STR_LIT>" , { "<STR_LIT>" : "<STR_LIT>" } ) <EOL> first_row = self . getRow ( <NUM_LIT:1> ) <EOL> self . assertEqual ( first_row , "<STR_LIT>" ) </s>
