spec/nanoc/base/entities/pattern_spec.rb in nanoc-4.7.9 vs spec/nanoc/base/entities/pattern_spec.rb in nanoc-4.7.10
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
describe Nanoc::Int::Pattern do
describe '.from' do
it 'converts from string' do
pattern = described_class.from('/foo/x[ab]z/bar.*')
expect(pattern.match?('/foo/xaz/bar.html')).to eql(true)