Skip to content

Commit 297346b

Browse files
committed
Add another python assertion switch
1 parent 0fe38fd commit 297346b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugin/switch.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ let g:switch_builtins =
270270
\ '\<assertIsNotNone\>': 'assertIsNone',
271271
\ '\<assertIn\>': 'assertNotIn',
272272
\ '\<assertNotIn\>': 'assertIn',
273+
\ '\<assertEqual\>': 'assertNotEqual',
274+
\ '\<assertNotEqual\>': 'assertEqual',
273275
\ },
274276
\ }
275277

0 commit comments

Comments
 (0)