syntax 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,22 +0,0 @@
1
- $:.unshift File.dirname(__FILE__) + "/../lib"
2
- require 'syntax'
3
- require 'test/unit'
4
-
5
- class TC_Syntax < Test::Unit::TestCase
6
- def test_all
7
- langs = Syntax.all
8
- assert langs.include?("ruby")
9
- assert langs.include?("xml")
10
- assert langs.include?("yaml")
11
- end
12
-
13
- def test_load_bogus
14
- lang = Syntax.load "bogus"
15
- assert_instance_of Syntax::Default, lang
16
- end
17
-
18
- def test_load
19
- lang = Syntax.load "ruby"
20
- assert_instance_of Syntax::Ruby, lang
21
- end
22
- end