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

Update rubocop-minitest requirement from ~> 0.33.0 to ~> 0.34.2 #96

Merged
merged 3 commits into from
Dec 27, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion live_ast.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rake-manifest", "~> 0.2.0"
spec.add_development_dependency "rubocop", "~> 1.51"
spec.add_development_dependency "rubocop-minitest", "~> 0.33.0"
spec.add_development_dependency "rubocop-minitest", "~> 0.34.2"
spec.add_development_dependency "rubocop-packaging", "~> 0.5.2"
spec.add_development_dependency "rubocop-performance", "~> 1.20"
spec.add_development_dependency "rubocop-rake", "~> 0.6.0"
Expand Down
5 changes: 2 additions & 3 deletions test/flush_cache_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ def g ; end

LiveAST.flush_cache

assert_equal f_ast.object_id,
klass.instance_method(:f).to_ast.object_id
assert_same f_ast, klass.instance_method(:f).to_ast

assert_raises LiveAST::ASTNotFoundError do
klass.instance_method(:g).to_ast
Expand Down Expand Up @@ -96,7 +95,7 @@ def flush_lambda

LiveAST.flush_cache

assert_equal a_ast.object_id, a.to_ast.object_id
assert_same a_ast, a.to_ast

assert_raises LiveAST::ASTNotFoundError do
b.to_ast
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def assert_nothing_raised
empty equal in_delta in_epsilon includes instance_of
kind_of match nil operator respond_to same
).each { |name|
alias_method :"assert_not_#{name}", "refute_#{name}"
alias_method :"assert_not_#{name}", :"refute_#{name}"
}
end

Expand Down