Sha256: 6c87059723ab1221df7121c72fa80ffe00821166f80f4925c064962f455574b5

Contents?: true

Size: 396 Bytes

Versions: 28

Compression:

Stored size: 396 Bytes

Contents

require 'rib/test'
require 'rib/test/multiline'
require 'rib/core/multiline'

describe Rib::Multiline do
  behaves_like :rib
  behaves_like :setup_multiline

  def check str, err=nil
    lines = str.split("\n")
    lines[0...-1].each{ |line|
      input(line)
      @shell.loop_once
    }
    input_done(lines.last, err)
  end

  test_for Rib::Multiline do
    behaves_like :multiline
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rib-1.2.5 test/core/test_multiline.rb
rib-1.2.4 test/core/test_multiline.rb
rib-1.2.3 test/core/test_multiline.rb
rib-1.2.2 test/core/test_multiline.rb
rib-1.2.1 test/core/test_multiline.rb
rib-1.2.0 test/core/test_multiline.rb
rib-1.1.6 test/core/test_multiline.rb
rib-1.1.5 test/core/test_multiline.rb
rib-1.1.4 test/core/test_multiline.rb
rib-1.1.3 test/core/test_multiline.rb
rib-1.1.2 test/core/test_multiline.rb
rib-1.1.1 test/core/test_multiline.rb
rib-1.1.0 test/core/test_multiline.rb
rib-1.0.5 test/core/test_multiline.rb
rib-1.0.4 test/core/test_multiline.rb
rib-1.0.3 test/core/test_multiline.rb
rib-1.0.2 test/core/test_multiline.rb
rib-1.0.1 test/core/test_multiline.rb
rib-1.0.0 test/core/test_multiline.rb
rib-0.9.9 test/core/test_multiline.rb