File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -124,20 +124,19 @@ def test_changed_boolean
124
124
update_file ( 'test_dot_files_status/scott/text.txt' , 'definitely different' )
125
125
assert ( git . status . changed? ( 'scott/text.txt' ) )
126
126
assert ( !git . status . changed? ( 'scott/TEXT.txt' ) )
127
-
128
- move_file ( 'test_dot_files_status/scott/text.txt' , 'test_dot_files_status/scott/TEXT.txt' )
129
- assert ( git . status . changed? ( 'scott/TEXT.txt' ) )
130
- assert ( !git . status . changed? ( 'scott/text.txt' ) )
131
127
end
132
128
end
133
129
134
130
def test_changed_boolean_ignorecase
135
131
in_temp_dir do |path |
136
132
git = Git . clone ( @wdir , 'test_dot_files_status' )
133
+ git . config ( 'core.ignorecase' , 'true' )
137
134
138
135
create_file ( 'test_dot_files_status/test_file_1' , 'content tets_file_1' )
139
136
create_file ( 'test_dot_files_status/test_file_2' , 'content tets_file_2' )
140
137
138
+ warn "======+++++ git.config('core.ignoreCase'): #{ git . config ( 'core.ignoreCase' ) } "
139
+
141
140
git . add ( 'test_file_1' )
142
141
git . add ( 'test_file_2' )
143
142
git . commit ( 'message' )
You can’t perform that action at this time.
0 commit comments