Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/git_spec.rb')
-rw-r--r--spec/lib/gitlab/git_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/git_spec.rb b/spec/lib/gitlab/git_spec.rb
index 784d25f55c1..f359679a930 100644
--- a/spec/lib/gitlab/git_spec.rb
+++ b/spec/lib/gitlab/git_spec.rb
@@ -54,6 +54,7 @@ RSpec.describe Gitlab::Git do
with_them do
it { expect(described_class.shas_eql?(sha1, sha2)).to eq(result) }
+
it 'is commutative' do
expect(described_class.shas_eql?(sha2, sha1)).to eq(result)
end