blob: 961a395ad4bd08db196b475d54408c4d1a6cbf2c [file]
require_relative './test_helper'
require 'singleton'
class SingletonSingletonTest < Test::Unit::TestCase
include TestHelper
library 'singleton'
testing 'singleton(::Singleton)'
class TestClass
include Singleton
end
def test_instance
assert_send_type '() -> SingletonSingletonTest::TestClass',
TestClass, :instance
end
end