mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 22:42:25 +00:00
* Fix issue 113: invalid filenames on Windows. Thanks claudio.bley!
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: tc
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: class .. < Test::Unit::TestCase .. end
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
require "test/unit"
|
||||
|
||||
require "${1:library_file_name}"
|
||||
|
||||
class Test${2:${1/([\w&&[^_]]+)|./\u$1/g}} < Test::Unit::TestCase
|
||||
def test_${3:case_name}
|
||||
$0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user