@@ -111,17 +111,6 @@ var RubySpec = &LangSpec{
111111 TestPrefix : "test_" ,
112112}
113113
114- var CSharpSpec = & LangSpec {
115- Name : "csharp" ,
116- FunctionTypes : []string {"method_declaration" , "constructor_declaration" },
117- ClassTypes : []string {"class_declaration" , "struct_declaration" , "record_declaration" },
118- InterfaceTypes : []string {"interface_declaration" },
119- ImportTypes : []string {"using_directive" },
120- CallTypes : []string {"invocation_expression" },
121- TestPrefix : "Test" ,
122- TestAttributes : []string {"Test" , "Fact" , "Theory" },
123- }
124-
125114var KotlinSpec = & LangSpec {
126115 Name : "kotlin" ,
127116 FunctionTypes : []string {"function_declaration" },
@@ -142,27 +131,6 @@ var PHPSpec = &LangSpec{
142131 TestPrefix : "test" ,
143132}
144133
145- var SwiftSpec = & LangSpec {
146- Name : "swift" ,
147- FunctionTypes : []string {"function_declaration" },
148- ClassTypes : []string {"class_declaration" , "struct_declaration" , "enum_declaration" },
149- InterfaceTypes : []string {"protocol_declaration" },
150- ImportTypes : []string {"import_declaration" },
151- CallTypes : []string {"call_expression" },
152- TestPrefix : "test" ,
153- ExtensionTypes : []string {"extension_declaration" },
154- }
155-
156- var ScalaSpec = & LangSpec {
157- Name : "scala" ,
158- FunctionTypes : []string {"function_definition" },
159- ClassTypes : []string {"class_definition" , "object_definition" },
160- InterfaceTypes : []string {"trait_definition" },
161- ImportTypes : []string {"import_declaration" },
162- CallTypes : []string {"call_expression" },
163- TestPrefix : "test" ,
164- }
165-
166134var LuaSpec = & LangSpec {
167135 Name : "lua" ,
168136 FunctionTypes : []string {"function_statement" },
@@ -172,11 +140,3 @@ var LuaSpec = &LangSpec{
172140 TestPrefix : "test_" ,
173141}
174142
175- var BashSpec = & LangSpec {
176- Name : "bash" ,
177- FunctionTypes : []string {"function_definition" },
178- ClassTypes : []string {},
179- ImportTypes : []string {"command" },
180- CallTypes : []string {"command" },
181- TestPrefix : "test_" ,
182- }
0 commit comments