Redmine/vendor/gems/coderay-0.9.7/test/functional/load_plugin_scanner.rb

12 lines
231 B
Ruby

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