Sha256: 706a8682f3661cc5ccde4aaa9952aa4561af6acd37533953a9a567587ca88279

Contents?: true

Size: 365 Bytes

Versions: 5

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class ContinueTagTest < Minitest::Test
  include Liquid

  # tests that no weird errors are raised if continue is called outside of a
  # block
  def test_continue_with_no_block
    assigns  = {}
    markup   = '{% continue %}'
    expected = ''

    assert_template_result(expected, markup, assigns)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
liquid-5.3.0 test/integration/tags/continue_tag_test.rb
liquid-5.2.0 test/integration/tags/continue_tag_test.rb
liquid-5.1.0 test/integration/tags/continue_tag_test.rb
liquid-5.0.1 test/integration/tags/continue_tag_test.rb
liquid-5.0.0 test/integration/tags/continue_tag_test.rb