Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete all remaining set-related descriptions. #1324

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Steepfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ target :lib do
"lib/rbs/test.rb"
)

library "set", "pathname", "json", "logger", "monitor", "tsort", "uri", 'dbm', 'pstore', 'singleton', 'shellwords', 'fileutils', 'find', 'digest', 'abbrev'
library "pathname", "json", "logger", "monitor", "tsort", "uri", 'dbm', 'pstore', 'singleton', 'shellwords', 'fileutils', 'find', 'digest', 'abbrev'
signature 'stdlib/yaml/0'
signature "stdlib/strscan/0/"
signature "stdlib/optparse/0/"
Expand All @@ -31,7 +31,7 @@ end
# check "app/models/**/*.rb" # Glob
# # ignore "lib/templates/*.rb"
#
# # library "pathname", "set" # Standard libraries
# # library "pathname", "uri" # Standard libraries
# # library "strong_json" # Gems
# end

Expand All @@ -40,6 +40,6 @@ end
#
# check "spec"
#
# # library "pathname", "set" # Standard libraries
# # library "pathname", "uri" # Standard libraries
# # library "rspec"
# end
1 change: 0 additions & 1 deletion docs/stdlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ end
class StringTest < Test::Unit::TestCase
include TypeAssertions

# library "pathname", "set", "securerandom" # Declare library signatures to load
testing "::String"

def test_gsub
Expand Down
4 changes: 2 additions & 2 deletions test/rbs/environment_loader_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ def test_loading_dir
def test_loading_stdlib
mktmpdir do |path|
loader = EnvironmentLoader.new
loader.add(library: "set")
loader.add(library: "uri")

env = Environment.new
loader.load(env: env)

assert_operator env.class_decls, :key?, TypeName("::Set")
assert_operator env.class_decls, :key?, TypeName("::URI")
end
end

Expand Down
2 changes: 0 additions & 2 deletions test/stdlib/Encoding_Converter_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
class Encoding::ConverterSingletonTest < Test::Unit::TestCase
include TypeAssertions

# library "pathname", "set", "securerandom" # Declare library signatures to load
testing "singleton(::Encoding::Converter)"

def test_new
Expand Down Expand Up @@ -178,7 +177,6 @@ def test_search_convpath
class Encoding::ConverterTest < Test::Unit::TestCase
include TypeAssertions

# library "pathname", "set", "securerandom" # Declare library signatures to load
testing "::Encoding::Converter"

def test_double_equal
Expand Down
1 change: 0 additions & 1 deletion test/stdlib/Encoding_InvalidByteSequenceError_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
class Encoding::InvalidByteSequenceErrorTest < Test::Unit::TestCase
include TypeAssertions

# library "pathname", "set", "securerandom" # Declare library signatures to load
testing "::Encoding::InvalidByteSequenceError"

def test_destination_encoding
Expand Down
1 change: 0 additions & 1 deletion test/stdlib/Encoding_UndefinedConversionError_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
class Encoding::UndefinedConversionErrorTest < Test::Unit::TestCase
include TypeAssertions

# library "pathname", "set", "securerandom" # Declare library signatures to load
testing "::Encoding::UndefinedConversionError"

def test_destination_encoding
Expand Down
1 change: 0 additions & 1 deletion test/stdlib/Thread_Backtrace_Location_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
class Thread::Backtrace::LocationTest < Test::Unit::TestCase
include TypeAssertions

# library "pathname", "set", "securerandom" # Declare library signatures to load
testing "::Thread::Backtrace::Location"

def test_absolute_path
Expand Down
1 change: 0 additions & 1 deletion test/stdlib/Thread_Backtrace_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
class Thread::BacktraceSingletonTest < Test::Unit::TestCase
include TypeAssertions

# library "pathname", "set", "securerandom" # Declare library signatures to load
testing "singleton(::Thread::Backtrace)"

def test_limit
Expand Down