mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Move files to ruby subfolder
This commit is contained in:
2
ruby/ql/test/query-tests/diagnostics/src/bar.erb
Normal file
2
ruby/ql/test/query-tests/diagnostics/src/bar.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<%# comment -%>
|
||||
blah
|
||||
9
ruby/ql/test/query-tests/diagnostics/src/foo.rb
Normal file
9
ruby/ql/test/query-tests/diagnostics/src/foo.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# comment
|
||||
|
||||
def hello
|
||||
p "hello world"
|
||||
end
|
||||
|
||||
# another one
|
||||
|
||||
hello
|
||||
5
ruby/ql/test/query-tests/diagnostics/src/not_ruby.rb
Executable file
5
ruby/ql/test/query-tests/diagnostics/src/not_ruby.rb
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This is a bash script
|
||||
export FOO="$(whereis ls)"
|
||||
exec "$FOO" "$(dirname "$0")"
|
||||
@@ -0,0 +1,3 @@
|
||||
case foo
|
||||
in 3 then 5
|
||||
end
|
||||
9
ruby/ql/test/query-tests/diagnostics/src/vendor/cache/lib.rb
vendored
Normal file
9
ruby/ql/test/query-tests/diagnostics/src/vendor/cache/lib.rb
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# comment
|
||||
|
||||
def hello
|
||||
p "hello lib"
|
||||
end
|
||||
|
||||
# another one
|
||||
|
||||
hello
|
||||
Reference in New Issue
Block a user