diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-12-16 11:05:46 +0800 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-12-16 11:08:51 +0800 |
commit | d242e8416e99eaee4465e2681210ae8b7ecd6d34 (patch) | |
tree | a1a7de4a143879aa16b6c751826dd1ee2a15c7e0 /test/prism/ruby_api_test.rb | |
parent | 122341305ff859bf30b99175bfb9db4b8f6467f5 (diff) |
Revert all of commits after Prism 0.19.0 release
We should bundle released version of Prism for Ruby 3.3.0
Diffstat (limited to 'test/prism/ruby_api_test.rb')
-rw-r--r-- | test/prism/ruby_api_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/prism/ruby_api_test.rb b/test/prism/ruby_api_test.rb index 7bb80b481a..3bf89f3339 100644 --- a/test/prism/ruby_api_test.rb +++ b/test/prism/ruby_api_test.rb @@ -42,9 +42,7 @@ module Prism assert_kind_of Prism::CallNode, Prism.parse("foo").value.statements.body[0] assert_kind_of Prism::LocalVariableReadNode, Prism.parse("foo", scopes: [[:foo]]).value.statements.body[0] - assert_equal 1, Prism.parse("foo", scopes: [[:foo], []]).value.statements.body[0].depth - - assert_equal [:foo], Prism.parse("foo", scopes: [[:foo]]).value.locals + assert_equal 2, Prism.parse("foo", scopes: [[:foo], []]).value.statements.body[0].depth end def test_literal_value_method |