mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Favor Ruby 2.3 squiggly-heredoc operator (#7584)
Merge pull request 7584
This commit is contained in:
@@ -34,7 +34,7 @@ end
|
||||
#
|
||||
|
||||
Given(%r!^I have an? "(.*)" page(?: with (.*) "(.*)")? that contains "(.*)"$!) do |file, key, value, text|
|
||||
File.write(file, Jekyll::Utils.strip_heredoc(<<-DATA))
|
||||
File.write(file, <<~DATA)
|
||||
---
|
||||
#{key || "layout"}: #{value || "none"}
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user