Sha256: 64ab2f311ee70920a0eb90a1ceaf723d003f56a4aab628c04b99f3bc653c62f6

Contents?: true

Size: 329 Bytes

Versions: 11

Compression:

Stored size: 329 Bytes

Contents

require 'test_helper'

class BreakTagTest < Minitest::Test
  include Liquid

  # tests that no weird errors are raised if break is called outside of a
  # block
  def test_break_with_no_block
    assigns = { 'i' => 1 }
    markup = '{% break %}'
    expected = ''

    assert_template_result(expected, markup, assigns)
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
liquid-4.0.4 test/integration/tags/break_tag_test.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/liquid-4.0.3/test/integration/tags/break_tag_test.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/liquid-4.0.3/test/integration/tags/break_tag_test.rb
liquid-4.0.3 test/integration/tags/break_tag_test.rb
liquid-4.0.2 test/integration/tags/break_tag_test.rb
liquid-4-0-2-4.0.2 test/integration/tags/break_tag_test.rb
liquid-4.0.1 test/integration/tags/break_tag_test.rb
liquid-4.0.0 test/integration/tags/break_tag_test.rb
liquid-4.0.0.rc3 test/integration/tags/break_tag_test.rb
liquid-4.0.0.rc2 test/integration/tags/break_tag_test.rb
liquid-4.0.0.rc1 test/integration/tags/break_tag_test.rb