edgurgel/solid

break and continue with whitespace control issue

オープン

#86 opened on 2021/09/06

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Elixir (56 件のフォーク)github user discovery
bughacktoberfest

Repository metrics

Stars
 (257 個のスター)
PR merge metrics
 (平均マージ 17d 10h) (30d で 2 merged PRs)

説明

     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

コントリビューターガイド