Sha256: 59d86f0f3cbf47b7eea38e3df6dfb38abae47104be466f4d7d066a6826c16632

Contents?: true

Size: 266 Bytes

Versions: 36

Compression:

Stored size: 266 Bytes

Contents

# -*- encoding : utf-8 -*-
require File.expand_path(File.dirname(__FILE__)) + '/helper'

class TestYieldNonEmpty < Test::Unit::TestCase
  
  def test_yield_non_empty
    arr = ["", "a"]
    assert_equal ["a"], Tracksperanto::YieldNonEmpty.new(arr).to_a
  end
  
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
tracksperanto-3.2.2 test/test_yield_non_empty.rb
tracksperanto-3.2.1 test/test_yield_non_empty.rb
tracksperanto-3.2.0 test/test_yield_non_empty.rb
tracksperanto-3.1.0 test/test_yield_non_empty.rb
tracksperanto-3.0.1 test/test_yield_non_empty.rb
tracksperanto-3.0.0 test/test_yield_non_empty.rb
tracksperanto-2.12.0 test/test_yield_non_empty.rb
tracksperanto-2.11.3 test/test_yield_non_empty.rb
tracksperanto-2.11.2 test/test_yield_non_empty.rb
tracksperanto-2.11.1 test/test_yield_non_empty.rb
tracksperanto-2.11.0 test/test_yield_non_empty.rb
tracksperanto-2.10.0 test/test_yield_non_empty.rb
tracksperanto-2.9.9 test/test_yield_non_empty.rb
tracksperanto-2.9.8 test/test_yield_non_empty.rb
tracksperanto-2.9.7 test/test_yield_non_empty.rb
tracksperanto-2.9.6 test/test_yield_non_empty.rb