mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-15 01:44:19 +00:00
Last commit before tagging and releasing
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: tc
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: class .. < Test::Unit::TestCase .. end
|
||||
# --
|
||||
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