File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ def test_add
1616      create_file ( 'test_add/test_file_2' ,  'content test_file_2' ) 
1717      create_file ( 'test_add/test_file_3' ,  'content test_file_3' ) 
1818      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+ 
2021      assert ( !git . status . added . assoc ( 'test_file_1' ) ) 
2122
2223      # Adding a single file, usign String 
@@ -33,10 +34,11 @@ def test_add
3334      assert ( !git . status . added . assoc ( 'test_file_4' ) ) 
3435
3536      # 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' ] ) 
3738
3839      assert ( git . status . added . assoc ( 'test_file_3' ) ) 
3940      assert ( git . status . added . assoc ( 'test_file_4' ) ) 
41+       assert ( git . status . added . assoc ( 'test file with \' quote' ) ) 
4042
4143      git . commit ( 'test_add commit #1' ) 
4244
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments