blob: fe43c71390deeee5c5eb266768cc7e5e4fc1687c [file]
require_relative "test_helper"
require "pstore"
class PStoreSingletonTest < Test::Unit::TestCase
include TypeAssertions
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