Sha256: e7d6de555949e89a862ef6bde1e8c4b0e9854a5f7e04739c7da30a4a21ed3e46

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

require 'helper'

class TestPlatform < Test::Unit::TestCase

  def setup
  end

  def test_darwin
    assert_equal Boom::Platform.darwin?, RUBY_PLATFORM.include?('darwin')
  end

  def test_windows
    assert_equal Boom::Platform.windows?, true if RUBY_PLATFORM =~ /mswin|mingw/
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
boom-0.2.3 test/test_platform.rb
boom-0.2.2 test/test_platform.rb