File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def execute(self, filename):
39
39
os .rename (filename , f'.{ filename } ' )
40
40
self ._hidden_files .append (filename )
41
41
else :
42
- print (f'{ filename } dose not exists to hide' )
42
+ print (f'{ filename } does not exists to hide' )
43
43
44
44
def undo (self ):
45
45
if len (self ._hidden_files ) > 0 :
@@ -71,7 +71,7 @@ def execute(self, filename):
71
71
os .rename (filename , f'{ self ._deleted_files_path } /{ filename } ' )
72
72
self ._deleted_files .append (filename )
73
73
else :
74
- print (f'{ filename } dose not exists to delete' )
74
+ print (f'{ filename } does not exists to delete' )
75
75
76
76
def undo (self ):
77
77
if len (self ._deleted_files ) > 0 :
@@ -111,9 +111,9 @@ def main():
111
111
>>> item1.on_do_press(test_file_name)
112
112
deleting test-file
113
113
114
- # hiding `test-file` but it dose not exists
114
+ # hiding `test-file` but it does not exists
115
115
>>> item2.on_do_press(test_file_name)
116
- test-file dose not exists to hide
116
+ test-file does not exists to hide
117
117
118
118
# un-deleting `test-file`
119
119
>>> item1.on_undo_press()
You can’t perform that action at this time.
0 commit comments