File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ def test_add
16
16
create_file ( 'test_add/test_file_2' , 'content test_file_2' )
17
17
create_file ( 'test_add/test_file_3' , 'content test_file_3' )
18
18
create_file ( 'test_add/test_file_4' , 'content test_file_4' )
19
-
19
+ create_file ( 'test_add/test file with \' quote' , 'content test_file_4' )
20
+
20
21
assert ( !git . status . added . assoc ( 'test_file_1' ) )
21
22
22
23
# Adding a single file, usign String
@@ -33,10 +34,11 @@ def test_add
33
34
assert ( !git . status . added . assoc ( 'test_file_4' ) )
34
35
35
36
# Adding multiple files, using Array
36
- git . add ( [ 'test_file_3' , 'test_file_4' ] )
37
+ git . add ( [ 'test_file_3' , 'test_file_4' , 'test file with \' quote' ] )
37
38
38
39
assert ( git . status . added . assoc ( 'test_file_3' ) )
39
40
assert ( git . status . added . assoc ( 'test_file_4' ) )
41
+ assert ( git . status . added . assoc ( 'test file with \' quote' ) )
40
42
41
43
git . commit ( 'test_add commit #1' )
42
44
You can’t perform that action at this time.
0 commit comments