You need to sign in or sign up before continuing.
[Rails5] `spec/lib/gitlab/sql/glob_spec.rb` fails
Note: add
rails5
to a branch name to trigger rails5 specific CI jobs.
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/72478375
2) Gitlab::SQL::Glob.to_like matches * as %
Failure/Error: expect(glob('apple', '*')).to be(true)
expected true
got false
# ./spec/lib/gitlab/sql/glob_spec.rb:6:in `block (3 levels) in <top (required)>'
3) Gitlab::SQL::Glob.to_like matches % literally
Failure/Error: expect(glob('100%', '100%')).to be(true)
expected true
got false
# ./spec/lib/gitlab/sql/glob_spec.rb:18:in `block (3 levels) in <top (required)>'
4) Gitlab::SQL::Glob.to_like matches _ literally
Failure/Error: expect(glob('^_^', '^_^')).to be(true)
expected true
got false
# ./spec/lib/gitlab/sql/glob_spec.rb:24:in `block (3 levels) in <top (required)>'