diff --git a/test/engine/evaluation_test.rb b/test/engine/evaluation_test.rb index b3957d244..c27ce88ea 100644 --- a/test/engine/evaluation_test.rb +++ b/test/engine/evaluation_test.rb @@ -337,7 +337,7 @@ class EvaluationTest < Minitest::Spec #{" "} diff --git a/test/snapshots/engine/evaluation_test/test_0022_complex_real_world_example_77e6fc93cd860e93537231583cd9cf3f.txt b/test/snapshots/engine/evaluation_test/test_0022_complex_real_world_example_d8e54f09b6cf5d8199c941a30266ede6.txt similarity index 78% rename from test/snapshots/engine/evaluation_test/test_0022_complex_real_world_example_77e6fc93cd860e93537231583cd9cf3f.txt rename to test/snapshots/engine/evaluation_test/test_0022_complex_real_world_example_d8e54f09b6cf5d8199c941a30266ede6.txt index 7ba3d9cc2..722cb3b32 100644 --- a/test/snapshots/engine/evaluation_test/test_0022_complex_real_world_example_77e6fc93cd860e93537231583cd9cf3f.txt +++ b/test/snapshots/engine/evaluation_test/test_0022_complex_real_world_example_d8e54f09b6cf5d8199c941a30266ede6.txt @@ -1,6 +1,6 @@ --- source: "Engine::EvaluationTest#test_0022_complex real world example" -input: "{source: \"\\n\\n \\n <%= page_title %>\\n \\\">\\n \\n \\\">\\n
\\n

<%= site_name %>

\\n \\n
\\n \\n
\\n <% if flash_message %>\\n
\\\">\\n <%= flash_message %>\\n
\\n <% end %>\\n \\n
\\n <% unless posts.empty? %>\\n <% posts.each_with_index do |post, index| %>\\n
\\\">\\n

<%= post.title %>

\\n

\\n By <%= post.author %> on <%= post.date.strftime(\\\"%B %d, %Y\\\") %>\\n

\\n
\\n <%= post.excerpt %>\\n
\\n <% if post.tags.any? %>\\n
\\n <% post.tags.each do |tag| %>\\n <%= tag %>\\n <% end %>\\n
\\n <% end %>\\n
\\n <% end %>\\n <% else %>\\n

No posts available.

\\n <% end %>\\n
\\n
\\n \\n \\n \\n\\n\", locals: {page_title: \"My Blog\", meta_description: \"A blog about programming\", body_classes: [\"blog\", \"home\"], site_name: \"My Awesome Blog\", navigation_items: [{title: \"Home\", url: \"/\", active: true}, {title: \"About\", url: \"/about\", active: false}, {title: \"Contact\", url: \"/contact\", active: false}], flash_message: \"Welcome!\", flash_type: \"success\", posts: [#, excerpt=\"This is the first post excerpt.\", tags=[\"ruby\", \"programming\"]>, #, excerpt=\"This is the second post excerpt.\", tags=[\"html\", \"css\"]>]}, options: {escape: false}}" +input: "{source: \"\\n\\n \\n <%= page_title %>\\n \\\">\\n \\n \\\">\\n
\\n

<%= site_name %>

\\n \\n
\\n \\n
\\n <% if flash_message %>\\n
\\\">\\n <%= flash_message %>\\n
\\n <% end %>\\n \\n
\\n <% unless posts.empty? %>\\n <% posts.each_with_index do |post, index| %>\\n
\\\">\\n

<%= post.title %>

\\n

\\n By <%= post.author %> on <%= post.date.strftime(\\\"%B %d, %Y\\\") %>\\n

\\n
\\n <%= post.excerpt %>\\n
\\n <% if post.tags.any? %>\\n
\\n <% post.tags.each do |tag| %>\\n <%= tag %>\\n <% end %>\\n
\\n <% end %>\\n
\\n <% end %>\\n <% else %>\\n

No posts available.

\\n <% end %>\\n
\\n
\\n \\n
\\n

© <%= Date.new(2025, 12, 31).year %> <%= site_name %>

\\n
\\n \\n\\n\", locals: {page_title: \"My Blog\", meta_description: \"A blog about programming\", body_classes: [\"blog\", \"home\"], site_name: \"My Awesome Blog\", navigation_items: [{title: \"Home\", url: \"/\", active: true}, {title: \"About\", url: \"/about\", active: false}, {title: \"Contact\", url: \"/contact\", active: false}], flash_message: \"Welcome!\", flash_type: \"success\", posts: [#, excerpt=\"This is the first post excerpt.\", tags=[\"ruby\", \"programming\"]>, #, excerpt=\"This is the second post excerpt.\", tags=[\"html\", \"css\"]>]}, options: {escape: false}}" ---