From 0758b41bbffc60e08592a4c802bc39664f3d96fa Mon Sep 17 00:00:00 2001 From: Anton Vikulov Date: Tue, 17 Sep 2024 15:21:11 +0300 Subject: [PATCH] test upd --- .../liquidInFrontMatter.test.ts.snap | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/tests/integrations/services/__snapshots__/liquidInFrontMatter.test.ts.snap b/tests/integrations/services/__snapshots__/liquidInFrontMatter.test.ts.snap index 1c678a5c..db08d0ac 100644 --- a/tests/integrations/services/__snapshots__/liquidInFrontMatter.test.ts.snap +++ b/tests/integrations/services/__snapshots__/liquidInFrontMatter.test.ts.snap @@ -11,10 +11,10 @@ exports[`Front matter (metadata) transformations do not break when a property ke exports[`Front matter (metadata) transformations do not break when a property key contains Liquid-style variable substitutions 2`] = ` "--- -prop-{{key-name}}: 'This one has a substitution in a key name.' -{{key-name}}-prop: 'This one''s key starts with a substitution.' -{{key-name}}: 'This one''s key only consists of a substitution.' -{{ key-name }}: 'This one''s key employs a different whitespace style in a substitution.' +prop-{{key-name}}: This one has a substitution in a key name. +{{key-name}}-prop: This one's key starts with a substitution. +{{key-name}}: This one's key only consists of a substitution. +{{ key-name }}: This one's key employs a different whitespace style in a substitution. --- Blah. " @@ -34,13 +34,15 @@ exports[`Front matter (metadata) transformations do not break when a property va exports[`Front matter (metadata) transformations do not break when a property value contains Liquid-style variable substitutions 2`] = ` "--- -prop1: 'This is a metadata property with a {{substitution}} in it.' -prop2: 'This one contains {{multiple}} {{substitutions}}.' -prop3: 'This one has {{substitutions}} of {{ different }} {{ styles}}.' -prop4: 'This one has a {{substitution}} as well, but the string literal is single-quoted.' -prop5: 'This one has no quotes at {{all}}.' -prop6: '{{this}} starts with a substitution.' -prop7: '{{this}} one is a multiline {{property}}.' +prop1: This is a metadata property with a {{substitution}} in it. +prop2: This one contains {{multiple}} {{substitutions}}. +prop3: This one has {{substitutions}} of {{ different }} {{ styles}}. +prop4: >- + This one has a {{substitution}} as well, but the string literal is + single-quoted. +prop5: This one has no quotes at {{all}}. +prop6: {{this}} starts with a substitution. +prop7: {{this}} one is a multiline {{property}}. --- Blah. " @@ -48,10 +50,10 @@ Blah. exports[`Front matter (metadata) transformations emit valid metadata when a variable is substituted with an ampty string 1`] = ` "--- -prop1: '' -prop2: '' -prop3: '' -prop4: '' +prop1: +prop2: +prop3: +prop4: --- " `;