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.5.9 test/test_yield_non_empty.rb
tracksperanto-3.5.8 test/test_yield_non_empty.rb
tracksperanto-3.5.7 test/test_yield_non_empty.rb
tracksperanto-3.5.6 test/test_yield_non_empty.rb
tracksperanto-3.5.5 test/test_yield_non_empty.rb
tracksperanto-3.5.4 test/test_yield_non_empty.rb
tracksperanto-3.5.2 test/test_yield_non_empty.rb
tracksperanto-3.5.1 test/test_yield_non_empty.rb
tracksperanto-3.5.0 test/test_yield_non_empty.rb
tracksperanto-3.4.1 test/test_yield_non_empty.rb
tracksperanto-3.4.0 test/test_yield_non_empty.rb
tracksperanto-3.3.13 test/test_yield_non_empty.rb
tracksperanto-3.3.12 test/test_yield_non_empty.rb
tracksperanto-3.3.11 test/test_yield_non_empty.rb
tracksperanto-3.3.10 test/test_yield_non_empty.rb
tracksperanto-3.3.9 test/test_yield_non_empty.rb
tracksperanto-3.3.8 test/test_yield_non_empty.rb
tracksperanto-3.3.7 test/test_yield_non_empty.rb
tracksperanto-3.3.6 test/test_yield_non_empty.rb
tracksperanto-3.3.0.pre test/test_yield_non_empty.rb