mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
230ca5ffe5
by supporting "uint" types in the c parser. [ruby-core:29750] * test/dl/test_cparser.rb: adding a test for "uint" changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
13 lines
215 B
Ruby
13 lines
215 B
Ruby
require_relative 'test_base'
|
|
|
|
require 'dl/cparser'
|
|
|
|
module DL
|
|
class TestCParser < TestBase
|
|
include DL::CParser
|
|
|
|
def test_uint_ctype
|
|
assert_equal(-DL::TYPE_INT, parse_ctype('uint'))
|
|
end
|
|
end
|
|
end
|