syntax 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -1
- data/README.rdoc +0 -8
- data/lib/syntax/version.rb +1 -1
- metadata +12 -18
- data/test/ALL-TESTS.rb +0 -5
- data/test/syntax/tc_ruby.rb +0 -871
- data/test/syntax/tc_xml.rb +0 -202
- data/test/syntax/tc_yaml.rb +0 -228
- data/test/syntax/tokenizer_testcase.rb +0 -40
- data/test/tc_syntax.rb +0 -22
data/test/tc_syntax.rb
DELETED
@@ -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
|