edgurgel/solid

break and continue with whitespace control issue

Offen

#86 geöffnet am 06.09.2021

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Elixir (56 Forks)github user discovery
bughacktoberfest

Repository-Metriken

Stars
 (257 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 17T 10h) (2 gemergte PRs in 30 T)

Beschreibung

     Render result was different!
     Input:
     ########################

     this should print

     {%- break -%}

     this should not print

     ########################


     code:  liquid_output == solid_output
     left:  "########################\n\nthis should print\n"
     right: "########################\n\nthis should print"
     Render result was different!
     Input:
     ########################

     this should print

     {%- continue %}

     this should not print

     ########################


     code:  liquid_output == solid_output
     left:  "########################\n\nthis should print\n"
     right: "########################\n\nthis should print"

https://github.com/edgurgel/solid/blob/master/test/integration/whitespace_control_cases/break_tag_test.exs#L3-L15 & https://github.com/edgurgel/solid/blob/master/test/integration/whitespace_control_cases/continue_tag_test.exs#L3-L15

Contributor Guide