File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -150,15 +150,15 @@ def test_push_to_non_bare_raise_error
150
150
@remote . push ( [ "refs/heads/master" ] )
151
151
end
152
152
153
- assert_equal "Local push doesn't (yet) support pushing to non-bare repos." , exception . message
153
+ assert_equal "local push doesn't (yet) support pushing to non-bare repos." , exception . message
154
154
end
155
155
156
156
def test_push_non_forward_raise_error
157
157
exception = assert_raises Rugged ::ReferenceError do
158
158
@remote . push ( [ "refs/heads/unit_test:refs/heads/master" ] )
159
159
end
160
160
161
- assert_equal "Cannot push non-fastforwardable reference" , exception . message
161
+ assert_equal "cannot push non-fastforwardable reference" , exception . message
162
162
assert_equal "a65fedf39aefe402d3bb6e24df4d4f5fe4547750" , @remote_repo . ref ( "refs/heads/master" ) . target_id
163
163
end
164
164
Original file line number Diff line number Diff line change @@ -675,15 +675,15 @@ def test_push_to_non_bare_raise_error
675
675
@repo . push ( "origin" , [ "refs/heads/master" ] )
676
676
end
677
677
678
- assert_equal "Local push doesn't (yet) support pushing to non-bare repos." , exception . message
678
+ assert_equal "local push doesn't (yet) support pushing to non-bare repos." , exception . message
679
679
end
680
680
681
681
def test_push_non_forward_raise_error
682
682
exception = assert_raises Rugged ::ReferenceError do
683
683
@repo . push ( "origin" , [ "refs/heads/unit_test:refs/heads/master" ] )
684
684
end
685
685
686
- assert_equal "Cannot push non-fastforwardable reference" , exception . message
686
+ assert_equal "cannot push non-fastforwardable reference" , exception . message
687
687
assert_equal "a65fedf39aefe402d3bb6e24df4d4f5fe4547750" , @remote_repo . ref ( "refs/heads/master" ) . target_id
688
688
end
689
689
You can’t perform that action at this time.
0 commit comments