Sha256: 28683c2c4493c6036aeadf7b8a97a1837bf680206eaff4d2f8cd6f9c289bc9c1
Contents?: true
Size: 830 Bytes
Versions: 11
Compression:
Stored size: 830 Bytes
Contents
# encoding: utf-8 ### # to run use # ruby -I ./lib -I ./test test/test_datafile.rb require 'helper' class TestDatafile < MiniTest::Test def test_exclude assert Datafile::Package.match_exclude?( '.build/' ) assert Datafile::Package.match_exclude?( '.git/' ) assert Datafile::Package.exclude?( '.build/' ) assert Datafile::Package.exclude?( '.git/' ) assert Datafile::Package.match_exclude?( '/.build/' ) assert Datafile::Package.match_exclude?( '/.git/' ) assert Datafile::Package.match_exclude?( '.build/leagues.txt' ) assert Datafile::Package.match_exclude?( '.git/leagues.txt' ) assert Datafile::Package.match_exclude?( '/.build/leagues.txt' ) assert Datafile::Package.match_exclude?( '/.git/leagues.txt' ) end end # class TestDatafile
Version data entries
11 entries across 11 versions & 1 rubygems