mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Downgrade lexer file to 1.3.1
This commit is contained in:
@@ -64,6 +64,7 @@ Brainfuck:
|
|||||||
- .b
|
- .b
|
||||||
- .bf
|
- .bf
|
||||||
BlitzMax:
|
BlitzMax:
|
||||||
|
:lexer: Text only
|
||||||
:ext:
|
:ext:
|
||||||
- .bmx
|
- .bmx
|
||||||
C:
|
C:
|
||||||
@@ -177,6 +178,7 @@ F#:
|
|||||||
- .fsi
|
- .fsi
|
||||||
- .fsx
|
- .fsx
|
||||||
Factor:
|
Factor:
|
||||||
|
:lexer: Text only
|
||||||
:ext:
|
:ext:
|
||||||
- .factor
|
- .factor
|
||||||
FORTRAN:
|
FORTRAN:
|
||||||
@@ -557,6 +559,7 @@ XML:
|
|||||||
- .mxml
|
- .mxml
|
||||||
- .rdf
|
- .rdf
|
||||||
XQuery:
|
XQuery:
|
||||||
|
:lexer: Text only
|
||||||
:ext:
|
:ext:
|
||||||
- .xqy
|
- .xqy
|
||||||
- .xq
|
- .xq
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# AUTOMATICALLY GENERATED BY bin/pygments-lexers
|
# AUTOMATICALLY GENERATED BY bin/pygments-lexers
|
||||||
|
# Pygments version 1.3.1
|
||||||
---
|
---
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: JavaScript+Mako
|
name: JavaScript+Mako
|
||||||
@@ -69,13 +70,6 @@
|
|||||||
- *.tpl
|
- *.tpl
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/x-smarty
|
- application/x-smarty
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Protocol Buffer
|
|
||||||
aliases:
|
|
||||||
- protobuf
|
|
||||||
filenames:
|
|
||||||
- *.proto
|
|
||||||
mimetypes:
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: ApacheConf
|
name: ApacheConf
|
||||||
aliases:
|
aliases:
|
||||||
@@ -182,15 +176,6 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/xml+smarty
|
- application/xml+smarty
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: autohotkey
|
|
||||||
aliases:
|
|
||||||
- ahk
|
|
||||||
filenames:
|
|
||||||
- *.ahk
|
|
||||||
- *.ahkl
|
|
||||||
mimetypes:
|
|
||||||
- text/x-autohotkey
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Felix
|
name: Felix
|
||||||
aliases:
|
aliases:
|
||||||
@@ -207,7 +192,6 @@
|
|||||||
- cmake
|
- cmake
|
||||||
filenames:
|
filenames:
|
||||||
- *.cmake
|
- *.cmake
|
||||||
- CMakeLists.txt
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-cmake
|
- text/x-cmake
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -250,24 +234,6 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/xml+mako
|
- application/xml+mako
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Scaml
|
|
||||||
aliases:
|
|
||||||
- scaml
|
|
||||||
- SCAML
|
|
||||||
filenames:
|
|
||||||
- *.scaml
|
|
||||||
mimetypes:
|
|
||||||
- text/x-scaml
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: MAQL
|
|
||||||
aliases:
|
|
||||||
- maql
|
|
||||||
filenames:
|
|
||||||
- *.maql
|
|
||||||
mimetypes:
|
|
||||||
- text/x-gooddata-maql
|
|
||||||
- application/x-gooddata-maql
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Boo
|
name: Boo
|
||||||
aliases:
|
aliases:
|
||||||
@@ -325,14 +291,6 @@
|
|||||||
- *.lgt
|
- *.lgt
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-logtalk
|
- text/x-logtalk
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: SCSS
|
|
||||||
aliases:
|
|
||||||
- scss
|
|
||||||
filenames:
|
|
||||||
- *.scss
|
|
||||||
mimetypes:
|
|
||||||
- text/x-scss
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: BBCode
|
name: BBCode
|
||||||
aliases:
|
aliases:
|
||||||
@@ -371,15 +329,6 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- control
|
- control
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Jade
|
|
||||||
aliases:
|
|
||||||
- jade
|
|
||||||
- JADE
|
|
||||||
filenames:
|
|
||||||
- *.jade
|
|
||||||
mimetypes:
|
|
||||||
- text/x-jade
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: RHTML
|
name: RHTML
|
||||||
aliases:
|
aliases:
|
||||||
@@ -390,13 +339,6 @@
|
|||||||
- *.rhtml
|
- *.rhtml
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/html+ruby
|
- text/html+ruby
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: XML+Velocity
|
|
||||||
aliases:
|
|
||||||
- xml+velocity
|
|
||||||
filenames:
|
|
||||||
mimetypes:
|
|
||||||
- application/xml+velocity
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: JavaScript+Cheetah
|
name: JavaScript+Cheetah
|
||||||
aliases:
|
aliases:
|
||||||
@@ -503,7 +445,6 @@
|
|||||||
- lua
|
- lua
|
||||||
filenames:
|
filenames:
|
||||||
- *.lua
|
- *.lua
|
||||||
- *.wlua
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-lua
|
- text/x-lua
|
||||||
- application/x-lua
|
- application/x-lua
|
||||||
@@ -643,14 +584,6 @@
|
|||||||
- *.asmx
|
- *.asmx
|
||||||
- *.axd
|
- *.axd
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Properties
|
|
||||||
aliases:
|
|
||||||
- properties
|
|
||||||
filenames:
|
|
||||||
- *.properties
|
|
||||||
mimetypes:
|
|
||||||
- text/x-java-properties
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Ragel in Ruby Host
|
name: Ragel in Ruby Host
|
||||||
aliases:
|
aliases:
|
||||||
@@ -659,15 +592,6 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- *.rl
|
- *.rl
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: BlitzMax
|
|
||||||
aliases:
|
|
||||||
- blitzmax
|
|
||||||
- bmax
|
|
||||||
filenames:
|
|
||||||
- *.bmx
|
|
||||||
mimetypes:
|
|
||||||
- text/x-bmx
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: HTML+Genshi
|
name: HTML+Genshi
|
||||||
aliases:
|
aliases:
|
||||||
@@ -695,6 +619,7 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- *.ini
|
- *.ini
|
||||||
- *.cfg
|
- *.cfg
|
||||||
|
- *.properties
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-ini
|
- text/x-ini
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -730,14 +655,6 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/css+smarty
|
- text/css+smarty
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Text only
|
|
||||||
aliases:
|
|
||||||
- text
|
|
||||||
filenames:
|
|
||||||
- *.txt
|
|
||||||
mimetypes:
|
|
||||||
- text/plain
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: ANTLR With C# Target
|
name: ANTLR With C# Target
|
||||||
aliases:
|
aliases:
|
||||||
@@ -778,12 +695,13 @@
|
|||||||
- *.applescript
|
- *.applescript
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: HTML+Smarty
|
name: Text only
|
||||||
aliases:
|
aliases:
|
||||||
- html+smarty
|
- text
|
||||||
filenames:
|
filenames:
|
||||||
|
- *.txt
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/html+smarty
|
- text/plain
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Literate Haskell
|
name: Literate Haskell
|
||||||
aliases:
|
aliases:
|
||||||
@@ -932,14 +850,6 @@
|
|||||||
- ragel
|
- ragel
|
||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Scalate Server Page
|
|
||||||
aliases:
|
|
||||||
- ssp
|
|
||||||
filenames:
|
|
||||||
- *.ssp
|
|
||||||
mimetypes:
|
|
||||||
- application/x-ssp
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: XML+Evoque
|
name: XML+Evoque
|
||||||
aliases:
|
aliases:
|
||||||
@@ -989,13 +899,6 @@
|
|||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-lighttpd-conf
|
- text/x-lighttpd-conf
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: HTML+Velocity
|
|
||||||
aliases:
|
|
||||||
- html+velocity
|
|
||||||
filenames:
|
|
||||||
mimetypes:
|
|
||||||
- text/html+velocity
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Ragel in D Host
|
name: Ragel in D Host
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1093,7 +996,6 @@
|
|||||||
- dylan
|
- dylan
|
||||||
filenames:
|
filenames:
|
||||||
- *.dylan
|
- *.dylan
|
||||||
- *.dyl
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-dylan
|
- text/x-dylan
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -1159,14 +1061,6 @@
|
|||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-rst
|
- text/x-rst
|
||||||
- text/prs.fallenstein.rst
|
- text/prs.fallenstein.rst
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Velocity
|
|
||||||
aliases:
|
|
||||||
- velocity
|
|
||||||
filenames:
|
|
||||||
- *.vm
|
|
||||||
- *.fhtml
|
|
||||||
mimetypes:
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: IRC logs
|
name: IRC logs
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1232,6 +1126,7 @@
|
|||||||
- makefile
|
- makefile
|
||||||
- Makefile.*
|
- Makefile.*
|
||||||
- GNUmakefile
|
- GNUmakefile
|
||||||
|
- basemake
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-makefile
|
- text/x-makefile
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
@@ -1298,7 +1193,6 @@
|
|||||||
aliases:
|
aliases:
|
||||||
- rb
|
- rb
|
||||||
- ruby
|
- ruby
|
||||||
- duby
|
|
||||||
filenames:
|
filenames:
|
||||||
- *.rb
|
- *.rb
|
||||||
- *.rbw
|
- *.rbw
|
||||||
@@ -1306,18 +1200,16 @@
|
|||||||
- *.rake
|
- *.rake
|
||||||
- *.gemspec
|
- *.gemspec
|
||||||
- *.rbx
|
- *.rbx
|
||||||
- *.duby
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-ruby
|
- text/x-ruby
|
||||||
- application/x-ruby
|
- application/x-ruby
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Python 3.0 Traceback
|
name: HTML+Smarty
|
||||||
aliases:
|
aliases:
|
||||||
- py3tb
|
- html+smarty
|
||||||
filenames:
|
filenames:
|
||||||
- *.py3tb
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-python3-traceback
|
- text/html+smarty
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: POVRay
|
name: POVRay
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1382,19 +1274,6 @@
|
|||||||
- matlabsession
|
- matlabsession
|
||||||
filenames:
|
filenames:
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Mason
|
|
||||||
aliases:
|
|
||||||
- mason
|
|
||||||
filenames:
|
|
||||||
- *.m
|
|
||||||
- *.mhtml
|
|
||||||
- *.mc
|
|
||||||
- *.mi
|
|
||||||
- autohandler
|
|
||||||
- dhandler
|
|
||||||
mimetypes:
|
|
||||||
- application/x-mason
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: HTML+PHP
|
name: HTML+PHP
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1408,23 +1287,13 @@
|
|||||||
- application/x-httpd-php4
|
- application/x-httpd-php4
|
||||||
- application/x-httpd-php5
|
- application/x-httpd-php5
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: PostScript
|
name: Python 3.0 Traceback
|
||||||
aliases:
|
aliases:
|
||||||
- postscript
|
- py3tb
|
||||||
filenames:
|
filenames:
|
||||||
- *.ps
|
- *.py3tb
|
||||||
- *.eps
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/postscript
|
- text/x-python3-traceback
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: verilog
|
|
||||||
aliases:
|
|
||||||
- v
|
|
||||||
filenames:
|
|
||||||
- *.v
|
|
||||||
- *.sv
|
|
||||||
mimetypes:
|
|
||||||
- text/x-verilog
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: ANTLR With Java Target
|
name: ANTLR With Java Target
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1433,16 +1302,6 @@
|
|||||||
- *.G
|
- *.G
|
||||||
- *.g
|
- *.g
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Tcl
|
|
||||||
aliases:
|
|
||||||
- tcl
|
|
||||||
filenames:
|
|
||||||
- *.tcl
|
|
||||||
mimetypes:
|
|
||||||
- text/x-tcl
|
|
||||||
- text/x-script.tcl
|
|
||||||
- application/x-tcl
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: JavaScript+Ruby
|
name: JavaScript+Ruby
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1475,15 +1334,6 @@
|
|||||||
- *.cxx-objdump
|
- *.cxx-objdump
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-cpp-objdump
|
- text/x-cpp-objdump
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Ioke
|
|
||||||
aliases:
|
|
||||||
- ioke
|
|
||||||
- ik
|
|
||||||
filenames:
|
|
||||||
- *.ik
|
|
||||||
mimetypes:
|
|
||||||
- text/x-iokesrc
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Python 3
|
name: Python 3
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1589,20 +1439,15 @@
|
|||||||
mimetypes:
|
mimetypes:
|
||||||
- application/x-myghty
|
- application/x-myghty
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Duel
|
name: Tcl
|
||||||
aliases:
|
aliases:
|
||||||
- duel
|
- tcl
|
||||||
- Duel Engine
|
|
||||||
- Duel View
|
|
||||||
- JBST
|
|
||||||
- jbst
|
|
||||||
- JsonML+BST
|
|
||||||
filenames:
|
filenames:
|
||||||
- *.duel
|
- *.tcl
|
||||||
- *.jbst
|
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- text/x-duel
|
- text/x-tcl
|
||||||
- text/x-jbst
|
- text/x-script.tcl
|
||||||
|
- application/x-tcl
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: MOOCode
|
name: MOOCode
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1666,14 +1511,6 @@
|
|||||||
mimetypes:
|
mimetypes:
|
||||||
- application/x-cheetah
|
- application/x-cheetah
|
||||||
- application/x-spitfire
|
- application/x-spitfire
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: GoodData-CL
|
|
||||||
aliases:
|
|
||||||
- gooddata-cl
|
|
||||||
filenames:
|
|
||||||
- *.gdc
|
|
||||||
mimetypes:
|
|
||||||
- text/x-gooddata-cl
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Objective-C
|
name: Objective-C
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1693,7 +1530,6 @@
|
|||||||
filenames:
|
filenames:
|
||||||
- *.js
|
- *.js
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- application/javascript
|
|
||||||
- application/x-javascript
|
- application/x-javascript
|
||||||
- text/x-javascript
|
- text/x-javascript
|
||||||
- text/javascript
|
- text/javascript
|
||||||
@@ -1734,17 +1570,6 @@
|
|||||||
- *.G
|
- *.G
|
||||||
- *.g
|
- *.g
|
||||||
mimetypes:
|
mimetypes:
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Hybris
|
|
||||||
aliases:
|
|
||||||
- hybris
|
|
||||||
- hy
|
|
||||||
filenames:
|
|
||||||
- *.hy
|
|
||||||
- *.hyb
|
|
||||||
mimetypes:
|
|
||||||
- text/x-hybris
|
|
||||||
- application/x-hybris
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: JavaScript+PHP
|
name: JavaScript+PHP
|
||||||
aliases:
|
aliases:
|
||||||
@@ -1755,25 +1580,6 @@
|
|||||||
- application/x-javascript+php
|
- application/x-javascript+php
|
||||||
- text/x-javascript+php
|
- text/x-javascript+php
|
||||||
- text/javascript+php
|
- text/javascript+php
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: Factor
|
|
||||||
aliases:
|
|
||||||
- factor
|
|
||||||
filenames:
|
|
||||||
- *.factor
|
|
||||||
mimetypes:
|
|
||||||
- text/x-factor
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
|
||||||
name: XQuery
|
|
||||||
aliases:
|
|
||||||
- xquery
|
|
||||||
- xqy
|
|
||||||
filenames:
|
|
||||||
- *.xqy
|
|
||||||
- *.xquery
|
|
||||||
mimetypes:
|
|
||||||
- text/xquery
|
|
||||||
- application/xquery
|
|
||||||
- !ruby/struct:Linguist::Lexer
|
- !ruby/struct:Linguist::Lexer
|
||||||
name: Ragel in Objective C Host
|
name: Ragel in Objective C Host
|
||||||
aliases:
|
aliases:
|
||||||
|
|||||||
@@ -180,13 +180,13 @@ class TestLanguage < Test::Unit::TestCase
|
|||||||
assert_equal Lexer['ActionScript 3'], Language['ActionScript'].lexer
|
assert_equal Lexer['ActionScript 3'], Language['ActionScript'].lexer
|
||||||
assert_equal Lexer['Ada'], Language['Ada'].lexer
|
assert_equal Lexer['Ada'], Language['Ada'].lexer
|
||||||
assert_equal Lexer['AppleScript'], Language['AppleScript'].lexer
|
assert_equal Lexer['AppleScript'], Language['AppleScript'].lexer
|
||||||
assert_equal Lexer['Text only'] , Language['Arc'].lexer
|
# assert_equal Lexer['Arc'] , Language['Arc'].lexer
|
||||||
assert_equal Lexer['NASM'], Language['Assembly'].lexer
|
assert_equal Lexer['NASM'], Language['Assembly'].lexer
|
||||||
assert_equal Lexer['Batchfile'], Language['Batchfile'].lexer
|
assert_equal Lexer['Batchfile'], Language['Batchfile'].lexer
|
||||||
assert_equal Lexer['Befunge'], Language['Befunge'].lexer
|
assert_equal Lexer['Befunge'], Language['Befunge'].lexer
|
||||||
assert_equal Lexer['Boo'], Language['Boo'].lexer
|
assert_equal Lexer['Boo'], Language['Boo'].lexer
|
||||||
assert_equal Lexer['Brainfuck'], Language['Brainfuck'].lexer
|
assert_equal Lexer['Brainfuck'], Language['Brainfuck'].lexer
|
||||||
assert_equal Lexer['BlitzMax'], Language['BlitzMax'].lexer
|
# assert_equal Lexer['BlitzMax'], Language['BlitzMax'].lexer
|
||||||
assert_equal Lexer['C'], Language['C'].lexer
|
assert_equal Lexer['C'], Language['C'].lexer
|
||||||
assert_equal Lexer['C#'], Language['C#'].lexer
|
assert_equal Lexer['C#'], Language['C#'].lexer
|
||||||
assert_equal Lexer['C++'], Language['C++'].lexer
|
assert_equal Lexer['C++'], Language['C++'].lexer
|
||||||
@@ -204,11 +204,11 @@ class TestLanguage < Test::Unit::TestCase
|
|||||||
assert_equal Lexer['Diff'], Language['Diff'].lexer
|
assert_equal Lexer['Diff'], Language['Diff'].lexer
|
||||||
assert_equal Lexer['D-ObjDump'], Language['d-objdump'].lexer
|
assert_equal Lexer['D-ObjDump'], Language['d-objdump'].lexer
|
||||||
assert_equal Lexer['Dylan'], Language['Dylan'].lexer
|
assert_equal Lexer['Dylan'], Language['Dylan'].lexer
|
||||||
assert_equal Lexer['Text only'], Language['Eiffel'].lexer
|
# assert_equal Lexer['Eiffel'], Language['Eiffel'].lexer
|
||||||
assert_equal Lexer['Scheme'], Language['Emacs Lisp'].lexer
|
assert_equal Lexer['Scheme'], Language['Emacs Lisp'].lexer
|
||||||
assert_equal Lexer['Erlang'], Language['Erlang'].lexer
|
assert_equal Lexer['Erlang'], Language['Erlang'].lexer
|
||||||
assert_equal Lexer['OCaml'], Language['F#'].lexer
|
assert_equal Lexer['OCaml'], Language['F#'].lexer
|
||||||
assert_equal Lexer['Factor'], Language['Factor'].lexer
|
# assert_equal Lexer['Factor'], Language['Factor'].lexer
|
||||||
assert_equal Lexer['Fortran'], Language['FORTRAN'].lexer
|
assert_equal Lexer['Fortran'], Language['FORTRAN'].lexer
|
||||||
assert_equal Lexer['GAS'], Language['GAS'].lexer
|
assert_equal Lexer['GAS'], Language['GAS'].lexer
|
||||||
assert_equal Lexer['Genshi'], Language['Genshi'].lexer
|
assert_equal Lexer['Genshi'], Language['Genshi'].lexer
|
||||||
@@ -283,7 +283,7 @@ class TestLanguage < Test::Unit::TestCase
|
|||||||
assert_equal Lexer['VimL'], Language['VimL'].lexer
|
assert_equal Lexer['VimL'], Language['VimL'].lexer
|
||||||
assert_equal Lexer['Text only'], Language['Visual Basic'].lexer
|
assert_equal Lexer['Text only'], Language['Visual Basic'].lexer
|
||||||
assert_equal Lexer['XML'], Language['XML'].lexer
|
assert_equal Lexer['XML'], Language['XML'].lexer
|
||||||
assert_equal Lexer['XQuery'], Language['XQuery'].lexer
|
# assert_equal Lexer['XQuery'], Language['XQuery'].lexer
|
||||||
assert_equal Lexer['C'], Language['XS'].lexer
|
assert_equal Lexer['C'], Language['XS'].lexer
|
||||||
assert_equal Lexer['YAML'], Language['YAML'].lexer
|
assert_equal Lexer['YAML'], Language['YAML'].lexer
|
||||||
assert_equal Lexer['Java Server Page'], Language['Java Server Pages'].lexer
|
assert_equal Lexer['Java Server Page'], Language['Java Server Pages'].lexer
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ class TestLexer < Test::Unit::TestCase
|
|||||||
def test_find_by_alias
|
def test_find_by_alias
|
||||||
assert_equal Lexer['Ruby'], Lexer.find_by_alias('rb')
|
assert_equal Lexer['Ruby'], Lexer.find_by_alias('rb')
|
||||||
assert_equal Lexer['Ruby'], Lexer.find_by_alias('ruby')
|
assert_equal Lexer['Ruby'], Lexer.find_by_alias('ruby')
|
||||||
assert_equal Lexer['Ruby'], Lexer.find_by_alias('duby')
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_find_all_by_alias
|
def test_find_all_by_alias
|
||||||
@@ -40,7 +39,7 @@ class TestLexer < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_aliases
|
def test_aliases
|
||||||
assert_equal ['rb', 'ruby', 'duby'], Lexer['Ruby'].aliases
|
assert_equal ['rb', 'ruby'], Lexer['Ruby'].aliases
|
||||||
assert_equal ['python', 'py'], Lexer['Python'].aliases
|
assert_equal ['python', 'py'], Lexer['Python'].aliases
|
||||||
assert_equal ['perl', 'pl'], Lexer['Perl'].aliases
|
assert_equal ['perl', 'pl'], Lexer['Perl'].aliases
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user