Skip to content

Commit

Permalink
fix: Set corrects paths for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Nov 11, 2019
1 parent 9c123af commit 54618ad
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ if [ $# -ne 0 ]; then
# Do not run any other tools when targeting specific tests.
run_linter=0
else
tests="test/options/*.vader test/filetypes/*.vader test/filetypes/python/*.vader"
tests="test/options/*.vader test/filetypes/**/*.vader test/filetypes/python/*.vader"
fi

# Delete .swp files in the test directory, which cause Vim 8 to hang.
Expand Down
36 changes: 18 additions & 18 deletions test/filetypes/ruby/functions.vader
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Do (trigger doge):
\<C-d>

Expect ruby (generated comment with nothing but the text 'TODO'):
# TODO
# [TODO:description]
def myFunc() # inline comment
end

Expand All @@ -24,9 +24,9 @@ Do (trigger doge):
\<C-d>

Expect ruby (generated comment with @param tags):
# TODO
# @param p1 [type] TODO
# @param p_2 [type] TODO
# [TODO:description]
# @param p1 [[TODO:type]] [TODO:description]
# @param p_2 [[TODO:type]] [TODO:description]
def myFunc(p1, p_2 = some_default_value)
end

Expand All @@ -40,8 +40,8 @@ Do (trigger doge):
\<C-d>

Expect ruby (generated comment with @param tags):
# TODO
# @param block [type] TODO
# [TODO:description]
# @param block [[TODO:type]] [TODO:description]
def each(&block)
end

Expand All @@ -55,10 +55,10 @@ Do (trigger doge):
\<C-d>

Expect ruby (generated comment with @param tags):
# TODO
# @param p1 [type] TODO
# @param p2 [type] TODO
# @param p3 [type] TODO
# [TODO:description]
# @param p1 [[TODO:type]] [TODO:description]
# @param p2 [[TODO:type]] [TODO:description]
# @param p3 [[TODO:type]] [TODO:description]
def parameters (p1,p2=4, p3*)
end

Expand All @@ -72,8 +72,8 @@ Do (trigger doge):
\<C-d>

Expect ruby (generated comment with @param tags):
# TODO
# @param format [type] TODO
# [TODO:description]
# @param format [[TODO:type]] [TODO:description]
def myFunc (format = :html)
end

Expand All @@ -98,17 +98,17 @@ Do (trigger doge):
\<C-d>

Expect ruby (generated comments with @param tags):
# TODO
# @param attribute [type] TODO
# [TODO:description]
# @param attribute [[TODO:type]] [TODO:description]
def [](attribute)
end

# TODO
# @param other [type] TODO
# [TODO:description]
# @param other [[TODO:type]] [TODO:description]
def copy!(other)
end

# TODO
# @param name [type] TODO
# [TODO:description]
# @param name [[TODO:type]] [TODO:description]
def define_method_attribute=(name)
end

0 comments on commit 54618ad

Please sign in to comment.