Sha256: 0d919eae277c309d7862a369e071cb10568a702a2c38cd9c181b54a359bd69d9

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class EchoTest < Minitest::Test
  include Liquid

  def test_echo_outputs_its_input
    assert_template_result('BAR', <<~LIQUID, 'variable-name' => 'bar')
      {%- echo variable-name | upcase -%}
    LIQUID
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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