test/test_mask.rb in cobench-0.0.13 vs test/test_mask.rb in cobench-0.0.14
- old
+ new
@@ -26,11 +26,11 @@
# Copyright:: Copyright (c) 2022 Yegor Bugayenko
# License:: MIT
class TestMask < Minitest::Test
def test_positive
assert Cobench::Mask.new('*/*').matches?('foo/bar')
- assert Cobench::Mask.new('test/*').matches?('test/one')
- assert Cobench::Mask.new('test/hello').matches?('test/hello')
+ assert Cobench::Mask.new('test/*').matches?('Test/one')
+ assert Cobench::Mask.new('test/hello').matches?('test/Hello')
end
def test_negative
assert !Cobench::Mask.new('*/*').matches?('some text')
assert !Cobench::Mask.new('test/*').matches?('best/two')