blob: b7400d0350219a7753021ea5c8e6d9bd1f2426b7 [file]
require_relative "test_helper"
require "pstore"
class PStoreSingletonTest < Test::Unit::TestCase
include TestHelper
library "pstore"
testing "singleton(::PStore)"
def test_initialize
assert_send_type "(untyped file, ?bool thread_safe) -> PStore",
PStore, :new, "file_name", false
assert_send_type "(untyped file, ?Symbol) -> PStore",
PStore, :new, "file_name", :false
end
end