summaryrefslogtreecommitdiff
path: root/test/functional/vhdl.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-03-26 04:43:17 +0000
committermurphy <murphy@rubychan.de>2010-03-26 04:43:17 +0000
commit7099489b0bd988e26916afc55c3b1f2874c3ea09 (patch)
tree250444d002a2dcfe3f5d48e1572d6fdeac5c4d08 /test/functional/vhdl.rb
parent1c1a3d50b1605b45d829519fb8e4502109a11448 (diff)
downloadcoderay-7099489b0bd988e26916afc55c3b1f2874c3ea09.tar.gz
Improved functional tests.
Diffstat (limited to 'test/functional/vhdl.rb')
-rw-r--r--test/functional/vhdl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/vhdl.rb b/test/functional/vhdl.rb
index c7e3824..3b8262b 100644
--- a/test/functional/vhdl.rb
+++ b/test/functional/vhdl.rb
@@ -106,7 +106,7 @@ class VHDL < CodeRay::Scanners::Scanner
end
match ||= matched
- if $DEBUG and not kind
+ if $CODERAY_DEBUG and not kind
raise_inspect 'Error token %p in line %d' %
[[match, kind], line], tokens
end