diff options
| author | murphy <murphy@rubychan.de> | 2009-10-20 11:28:53 +0000 |
|---|---|---|
| committer | murphy <murphy@rubychan.de> | 2009-10-20 11:28:53 +0000 |
| commit | 764afed59060085123304b53a711d3c1bab5ac86 (patch) | |
| tree | ef8dee664c0a6e52a3ba4c7b190b8b8e3b220af4 /test/functional/load_plugin_scanner.rb | |
| parent | 9f6e54e92820754d4f05e7d6ef556c11c5351411 (diff) | |
| download | coderay-764afed59060085123304b53a711d3c1bab5ac86.tar.gz | |
Added a test case for loading plugin scanners.
Diffstat (limited to 'test/functional/load_plugin_scanner.rb')
| -rwxr-xr-x | test/functional/load_plugin_scanner.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/functional/load_plugin_scanner.rb b/test/functional/load_plugin_scanner.rb new file mode 100755 index 0000000..d778e08 --- /dev/null +++ b/test/functional/load_plugin_scanner.rb @@ -0,0 +1,11 @@ +require "test/unit" +require "coderay" + +class PluginScannerTest < Test::Unit::TestCase + + def test_load + require File.join(File.dirname(__FILE__), 'vhdl') + assert_equal 'VHDL', CodeRay.scanner(:vhdl).class.name + end + +end |
