spec: Use more Regexp-like expression

This commit is contained in:
yoshihara 2015-04-23 15:19:24 +09:00
parent 2a2b968775
commit 16c04d986a

View File

@ -7,8 +7,8 @@ describe RegexpPreview::SingleLine do
describe "format" do
let :params do
{
regexp: "(?<regexp>regexp)",
time_format: "time_format",
regexp: "(?<category>\[.+\])",
}
end