From 764afed59060085123304b53a711d3c1bab5ac86 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 20 Oct 2009 11:28:53 +0000 Subject: Added a test case for loading plugin scanners. --- test/functional/load_plugin_scanner.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 test/functional/load_plugin_scanner.rb (limited to 'test/functional/load_plugin_scanner.rb') 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 -- cgit v1.2.1