mirror of
https://github.com/gryf/tagbar.git
synced 2026-02-19 07:55:54 +01:00
Add tests to repository
This commit is contained in:
10
tests/ruby/cache_key.rb
Normal file
10
tests/ruby/cache_key.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class Class2
|
||||
def self.fun1()
|
||||
value=if foo
|
||||
bar
|
||||
end
|
||||
end
|
||||
|
||||
def self.fun2()
|
||||
end
|
||||
end
|
||||
13
tests/ruby/singleton.rb
Normal file
13
tests/ruby/singleton.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class Foo
|
||||
def a
|
||||
end
|
||||
|
||||
def b
|
||||
end
|
||||
|
||||
def Foo.c(item)
|
||||
end
|
||||
|
||||
def self.d
|
||||
end
|
||||
end
|
||||
10
tests/ruby/testcase.rb
Normal file
10
tests/ruby/testcase.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class Class1
|
||||
def fun1()
|
||||
foo = if bar
|
||||
baz
|
||||
end
|
||||
end
|
||||
|
||||
def fun2()
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user