summaryrefslogtreecommitdiff
path: root/test/functional/vhdl.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-01-01 04:44:10 +0000
committermurphy <murphy@rubychan.de>2010-01-01 04:44:10 +0000
commit228726f6bfed89b86fb985d554040f91de776840 (patch)
tree007a9c0201ff8ec6f8f6b665ca65266acd950715 /test/functional/vhdl.rb
parentc45da135ebc403f9e10c09afec73b44bdbc74153 (diff)
downloadcoderay-228726f6bfed89b86fb985d554040f91de776840.tar.gz
Cleaning up functional tests; test:functional scans without loading Rubygems now.
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 fb4b4e1..c7e3824 100644
--- a/test/functional/vhdl.rb
+++ b/test/functional/vhdl.rb
@@ -34,7 +34,7 @@ class VHDL < CodeRay::Scanners::Scanner
add(PREDEFINED_TYPES, :pre_type).
add(PREDEFINED_CONSTANTS, :pre_constant)
- ESCAPE = / [rbfnrtv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
+ ESCAPE = / [rbfntv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x
def scan_tokens tokens, options