class RubyIndexer::GlobalVariableTest

def test_global_variable_target_node

def test_global_variable_target_node
  index(<<~RUBY)
    $foo, $bar = 1
  RUBY
  assert_entry("$foo", Entry::GlobalVariable, "/fake/path/foo.rb:0-0:0-4")
  assert_entry("$bar", Entry::GlobalVariable, "/fake/path/foo.rb:0-6:0-10")
end