Sha256: 227f1b2b4585908d0ed69fde7cfaa5c1a90da2fbc2d18ebff6de0e83c84b0114

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

########################################################################
# Miscellaneous tests for win32-file that didn't fit anywhere else.
########################################################################
require 'win32/file'
require 'test-unit'

class TC_Win32_File_Misc < Test::Unit::TestCase
  test "version constant is set to expected value" do
    assert_equal('0.7.3', File::WIN32_FILE_VERSION)
  end

  test "ffi functions are private" do
    assert_not_respond_to(File, :CloseHandle)
    assert_not_respond_to(File, :CreateFileW)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
win32-file-0.7.3 test/test_win32_file_misc.rb