diff options
Diffstat (limited to 'spec/lib/gitlab/git/tree_spec.rb')
-rw-r--r-- | spec/lib/gitlab/git/tree_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/git/tree_spec.rb b/spec/lib/gitlab/git/tree_spec.rb index 7c84c737c00..17f802b9f66 100644 --- a/spec/lib/gitlab/git/tree_spec.rb +++ b/spec/lib/gitlab/git/tree_spec.rb @@ -239,7 +239,7 @@ RSpec.describe Gitlab::Git::Tree do let(:pagination_params) { { limit: 5, page_token: 'aabbccdd' } } it 'raises a command error' do - expect { entries }.to raise_error(Gitlab::Git::CommandError, 'could not find starting OID: aabbccdd') + expect { entries }.to raise_error(Gitlab::Git::CommandError, /could not find starting OID: aabbccdd/) end end |