コード例 #1
0
def EnableTypoCorrection_ReciprocalOthers_test():
    eq_(flags._EnableTypoCorrection(['-x', 'c++', '-fno-spell-checking']),
        ['-x', 'c++', '-fno-spell-checking'])
コード例 #2
0
def EnableTypoCorrection_Trivial_test():
    eq_(flags._EnableTypoCorrection(['-x', 'c++']),
        ['-x', 'c++', '-fspell-checking'])
コード例 #3
0
def EnableTypoCorrection_Reciprocal_test():
    eq_(flags._EnableTypoCorrection(['-fno-spell-checking']),
        ['-fno-spell-checking'])
コード例 #4
0
def EnableTypoCorrection_Empty_test():
    eq_(flags._EnableTypoCorrection([]), ['-fspell-checking'])
コード例 #5
0
ファイル: flags_test.py プロジェクト: OrangeCrush/dotfiles
def EnableTypoCorrection_ReciprocalOthers_test():
  eq_( flags._EnableTypoCorrection( [ '-x', 'c++', '-fno-spell-checking' ] ),
                                    [ '-x', 'c++', '-fno-spell-checking' ] )
コード例 #6
0
ファイル: flags_test.py プロジェクト: OrangeCrush/dotfiles
def EnableTypoCorrection_Reciprocal_test():
  eq_( flags._EnableTypoCorrection( [ '-fno-spell-checking' ] ),
                                    [ '-fno-spell-checking' ] )
コード例 #7
0
ファイル: flags_test.py プロジェクト: OrangeCrush/dotfiles
def EnableTypoCorrection_Trivial_test():
  eq_( flags._EnableTypoCorrection( [ '-x', 'c++' ] ),
                                    [ '-x', 'c++', '-fspell-checking' ] )
コード例 #8
0
ファイル: flags_test.py プロジェクト: OrangeCrush/dotfiles
def EnableTypoCorrection_Empty_test():
  eq_( flags._EnableTypoCorrection( [] ), [ '-fspell-checking' ] )