Skip to content

Commit

Permalink
Delete all remaining set-related descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksss authored and soutaro committed Aug 14, 2023
1 parent 3311bd3 commit 963496d
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 12 deletions.
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

0 comments on commit 963496d

Please sign in to comment.