update tests

This commit is contained in:
nightwing 2013-04-17 16:28:59 +04:00
commit 834d0aee9f
8 changed files with 27 additions and 45 deletions

View file

@ -65,8 +65,8 @@ function makeHuge(txt) {
} }
var docs = { var docs = {
"docs/AsciiDoc.asciidoc": "AsciiDoc",
"docs/javascript.js": "JavaScript", "docs/javascript.js": "JavaScript",
"docs/AsciiDoc.asciidoc": "AsciiDoc",
"docs/clojure.clj": "Clojure", "docs/clojure.clj": "Clojure",
"docs/coffeescript.coffee": "CoffeeScript", "docs/coffeescript.coffee": "CoffeeScript",
"docs/coldfusion.cfm": "ColdFusion", "docs/coldfusion.cfm": "ColdFusion",
@ -102,7 +102,7 @@ var docs = {
"docs/luapage.lp": "LuaPage", "docs/luapage.lp": "LuaPage",
"docs/Makefile": "Makefile", "docs/Makefile": "Makefile",
"docs/markdown.md": {name: "Markdown", wrapped: true}, "docs/markdown.md": {name: "Markdown", wrapped: true},
"docs/tinymush.mc": {name: "TinyMUSH", wrapped: true}, "docs/mushcode.mc": {name: "MUSHCode", wrapped: true},
"docs/objectivec.m": {name: "Objective-C"}, "docs/objectivec.m": {name: "Objective-C"},
"docs/ocaml.ml": "OCaml", "docs/ocaml.ml": "OCaml",
"docs/OpenSCAD.scad": "OpenSCAD", "docs/OpenSCAD.scad": "OpenSCAD",
@ -129,7 +129,7 @@ var docs = {
"docs/tcl.tcl": "Tcl", "docs/tcl.tcl": "Tcl",
"docs/tex.tex": "Tex", "docs/tex.tex": "Tex",
"docs/textile.textile": {name: "Textile", wrapped: true}, "docs/textile.textile": {name: "Textile", wrapped: true},
"docs/tmSnippet.tmSnippet": "tmSnippet", "docs/snippets.snippets": "snippets",
"docs/toml.toml": "TOML", "docs/toml.toml": "TOML",
"docs/typescript.ts": "Typescript", "docs/typescript.ts": "Typescript",
"docs/vbscript.vbs": "VBScript", "docs/vbscript.vbs": "VBScript",
@ -141,7 +141,7 @@ var docs = {
"docs/actionscript.as": "ActionScript", "docs/actionscript.as": "ActionScript",
"docs/autohotkey.ahk": "AutoHotKey", "docs/autohotkey.ahk": "AutoHotKey",
"docs/batch_file.bat": "BatchFile", "docs/batchfile.bat": "BatchFile",
"docs/erlang/erl": "Erlang", "docs/erlang/erl": "Erlang",
"docs/forth.frt": "Forth", "docs/forth.frt": "Forth",
"docs/haskell.hs": "Haskell", "docs/haskell.hs": "Haskell",

View file

@ -14,8 +14,8 @@ asdad
77 77
.86 .86
#import("http://dartwatch.com/myOtherLibrary.dart"); import("http://dartwatch.com/myOtherLibrary.dart");
#import("myOtherLibrary.dart", prefix:"lib1"); import("myOtherLibrary.dart", prefix:"lib1");
"""asdasdads """asdasdads
asdadsadsasd asdadsadsasd

View file

@ -45,13 +45,11 @@
],[ ],[
"start", "start",
["text","\t\t"], ["text","\t\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","//*************************"]
["comment.line.double-slash.actionscript.2","*************************"]
],[ ],[
"start", "start",
["text","\t\t"], ["text","\t\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","// Properties:"]
["comment.line.double-slash.actionscript.2"," Properties:"]
],[ ],[
"start", "start",
["text","\t\t"] ["text","\t\t"]
@ -71,8 +69,7 @@
],[ ],[
"start", "start",
["text","\t\t"], ["text","\t\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","// Color offsets"]
["comment.line.double-slash.actionscript.2"," Color offsets"]
],[ ],[
"start", "start",
["text","\t\t"], ["text","\t\t"],
@ -87,21 +84,18 @@
["text"," "], ["text"," "],
["constant.numeric.actionscript.2","0"], ["constant.numeric.actionscript.2","0"],
["text",";\t"], ["text",";\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","// R"]
["comment.line.double-slash.actionscript.2"," R"]
],[ ],[
"start", "start",
["text","\t\t"] ["text","\t\t"]
],[ ],[
"start", "start",
["text","\t\t"], ["text","\t\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","//*************************"]
["comment.line.double-slash.actionscript.2","*************************"]
],[ ],[
"start", "start",
["text","\t\t"], ["text","\t\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","// Constructor:"]
["comment.line.double-slash.actionscript.2"," Constructor:"]
],[ ],[
"start", "start",
["text","\t\t"] ["text","\t\t"]
@ -121,8 +115,7 @@
],[ ],[
"start", "start",
["text","\t\t\t"], ["text","\t\t\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","// Respond to mouse events"]
["comment.line.double-slash.actionscript.2"," Respond to mouse events"]
],[ ],[
"start", "start",
["text","\t\t\tswatch1_btn."], ["text","\t\t\tswatch1_btn."],
@ -145,8 +138,7 @@
],[ ],[
"start", "start",
["text","\t\t\t"], ["text","\t\t\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","// Respond to drag events"]
["comment.line.double-slash.actionscript.2"," Respond to drag events"]
],[ ],[
"start", "start",
["text","\t\t\tred_slider."], ["text","\t\t\tred_slider."],
@ -158,8 +150,7 @@
],[ ],[
"start", "start",
["text","\t\t\t"], ["text","\t\t\t"],
["punctuation.definition.comment.actionscript.2","//"], ["punctuation.definition.comment.actionscript.2","// Draw a frame later"]
["comment.line.double-slash.actionscript.2"," Draw a frame later"]
],[ ],[
"start", "start",
["text","\t\t\t"], ["text","\t\t\t"],

View file

@ -1,13 +1,11 @@
[[ [[
"start", "start",
["text"," "], ["text"," "],
["punctuation.definition.comment.erlang","%"], ["punctuation.definition.comment.erlang","%% A process whose only job is to keep a counter."]
["comment.line.percentage.erlang","% A process whose only job is to keep a counter."]
],[ ],[
"start", "start",
["text"," "], ["text"," "],
["punctuation.definition.comment.erlang","%"], ["punctuation.definition.comment.erlang","%% First version"]
["comment.line.percentage.erlang","% First version"]
],[ ],[
"start", "start",
["meta.directive.module.erlang"," "], ["meta.directive.module.erlang"," "],
@ -141,8 +139,7 @@
],[ ],[
["keyword.control.receive.erlang","text6","text6","meta.function.erlang"], ["keyword.control.receive.erlang","text6","text6","meta.function.erlang"],
["meta.expression.receive.erlang"," "], ["meta.expression.receive.erlang"," "],
["punctuation.definition.comment.erlang","%"], ["punctuation.definition.comment.erlang","% Force the use of 'codeswitch/1' from the latest MODULE version"]
["comment.line.percentage.erlang"," Force the use of 'codeswitch/1' from the latest MODULE version"]
],[ ],[
"start", "start",
["meta.expression.receive.erlang"," "], ["meta.expression.receive.erlang"," "],

View file

@ -1,7 +1,6 @@
[[ [[
"start", "start",
["punctuation.definition.comment.haskell","--"], ["punctuation.definition.comment.haskell","-- Type annotation (optional)"]
["comment.line.double-dash.haskell"," Type annotation (optional)"]
],[ ],[
"start", "start",
["entity.name.function.haskell","fib"], ["entity.name.function.haskell","fib"],
@ -18,8 +17,7 @@
["text"," "] ["text"," "]
],[ ],[
"start", "start",
["punctuation.definition.comment.haskell","--"], ["punctuation.definition.comment.haskell","-- With self-referencing data"]
["comment.line.double-dash.haskell"," With self-referencing data"]
],[ ],[
"start", "start",
["text","fib n "], ["text","fib n "],
@ -47,15 +45,13 @@
],[ ],[
"start", "start",
["text"," "], ["text"," "],
["punctuation.definition.comment.haskell","--"], ["punctuation.definition.comment.haskell","-- 0,1,1,2,3,5,..."]
["comment.line.double-dash.haskell"," 0,1,1,2,3,5,..."]
],[ ],[
"start", "start",
["text"," "] ["text"," "]
],[ ],[
"start", "start",
["punctuation.definition.comment.haskell","--"], ["punctuation.definition.comment.haskell","-- Same, coded directly"]
["comment.line.double-dash.haskell"," Same, coded directly"]
],[ ],[
"start", "start",
["text","fib n "], ["text","fib n "],
@ -96,8 +92,7 @@
["text"," "] ["text"," "]
],[ ],[
"start", "start",
["punctuation.definition.comment.haskell","--"], ["punctuation.definition.comment.haskell","-- Similar idea, using zipWith"]
["comment.line.double-dash.haskell"," Similar idea, using zipWith"]
],[ ],[
"start", "start",
["text","fib n "], ["text","fib n "],
@ -131,8 +126,7 @@
["text"," "] ["text"," "]
],[ ],[
"start", "start",
["punctuation.definition.comment.haskell","--"], ["punctuation.definition.comment.haskell","-- Using a generator function"]
["comment.line.double-dash.haskell"," Using a generator function"]
],[ ],[
"start", "start",
["text","fib n "], ["text","fib n "],

View file

@ -1,12 +1,12 @@
[[ [[
"punctuation.definition.comment.pascal1", "punctuation.definition.comment.pascal",
["punctuation.definition.comment.pascal","(*"], ["punctuation.definition.comment.pascal","(*"],
["comment.block.pascal.one","****************************************************************************"] ["comment.block.pascal.one","****************************************************************************"]
],[ ],[
"punctuation.definition.comment.pascal1", "punctuation.definition.comment.pascal",
["comment.block.pascal.one"," * A simple bubble sort program. Reads integers, one per line, and prints *"] ["comment.block.pascal.one"," * A simple bubble sort program. Reads integers, one per line, and prints *"]
],[ ],[
"punctuation.definition.comment.pascal1", "punctuation.definition.comment.pascal",
["comment.block.pascal.one"," * them out in sorted order. Blows up if there are more than 49. *"] ["comment.block.pascal.one"," * them out in sorted order. Blows up if there are more than 49. *"]
],[ ],[
"start", "start",