summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/flymake-resources/test.rb
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2017-11-05 12:51:30 +0000
committerJoão Távora <joaotavora@gmail.com>2017-11-05 12:55:43 +0000
commit58bb3462ee5d43efbebba29f8e218391966fb2a1 (patch)
tree6df39070946658f83d4520591da1afef9b71d50d /test/lisp/progmodes/flymake-resources/test.rb
parent58e742b21dcd15f5a00381de3e7179210978ddc9 (diff)
downloademacs-58bb3462ee5d43efbebba29f8e218391966fb2a1.tar.gz
emacs-58bb3462ee5d43efbebba29f8e218391966fb2a1.tar.bz2
emacs-58bb3462ee5d43efbebba29f8e218391966fb2a1.zip
Add tests for Flymake backends for Ruby and Perl
* test/lisp/progmodes/flymake-tests.el (perl-backend) (ruby-backend): New tests. (warning-predicate-rx-perl, warning-predicate-function-perl): Delete tests. * test/lisp/progmodes/flymake-resources/test.pl: Include an error the test file. * test/lisp/progmodes/flymake-resources/test.rb: file.
Diffstat (limited to 'test/lisp/progmodes/flymake-resources/test.rb')
-rw-r--r--test/lisp/progmodes/flymake-resources/test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lisp/progmodes/flymake-resources/test.rb b/test/lisp/progmodes/flymake-resources/test.rb
new file mode 100644
index 00000000000..1419eaf3ad2
--- /dev/null
+++ b/test/lisp/progmodes/flymake-resources/test.rb
@@ -0,0 +1,5 @@
+def bla
+ return 2
+ print "not reached"
+ something
+ oops