.st file extension for StringTemplate HTML files

Conflicts:
	lib/linguist/samples.json
This commit is contained in:
Paul Chaignon
2014-04-24 10:37:56 +02:00
committed by Arfon Smith
parent cbcbb969d5
commit bb58840c1c
7 changed files with 616 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
tests
testSimpleChainMatches
|e eCtrl |
e := self eventKey: $e.
eCtrl := self eventKey: $e ctrl: true.
self assert: (($e ctrl, $e) matches: {eCtrl}).
self assert: ($e ctrl matches: {eCtrl. e}).
self deny: (($e ctrl, $e) matches: {eCtrl. self eventKey: $a}).
self deny: ($e ctrl matches: {e}).