Sha256: a653784426d3462a313d6529405da5a87ddabcfa28e48a9b7b7ea6bd9a60350b

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
tracksperanto-4.1.2 test/test_yield_non_empty.rb
tracksperanto-4.1.0 test/test_yield_non_empty.rb
tracksperanto-4.0.0 test/test_yield_non_empty.rb