@@ -61,8 +61,8 @@ pub enum RunnableKind {
61
61
62
62
#[ derive( Debug , Clone , Hash , PartialEq , Eq , PartialOrd , Ord ) ]
63
63
enum RunnableDiscKind {
64
- Test ,
65
64
TestMod ,
65
+ Test ,
66
66
DocTest ,
67
67
Bench ,
68
68
Bin ,
@@ -1233,8 +1233,8 @@ gen_main!();
1233
1233
"(TestMod, NavigationTarget { file_id: FileId(0), full_range: 0..315, name: \"\", kind: Module })",
1234
1234
"(TestMod, NavigationTarget { file_id: FileId(0), full_range: 267..292, focus_range: 271..276, name: \"tests\", kind: Module, description: \"mod tests\" })",
1235
1235
"(Test, NavigationTarget { file_id: FileId(0), full_range: 283..290, name: \"foo_test\", kind: Function })",
1236
- "(Test, NavigationTarget { file_id: FileId(0), full_range: 293..301, name: \"foo_test2\", kind: Function }, true)",
1237
1236
"(TestMod, NavigationTarget { file_id: FileId(0), full_range: 293..301, name: \"tests2\", kind: Module, description: \"mod tests2\" }, true)",
1237
+ "(Test, NavigationTarget { file_id: FileId(0), full_range: 293..301, name: \"foo_test2\", kind: Function }, true)",
1238
1238
"(Bin, NavigationTarget { file_id: FileId(0), full_range: 302..314, name: \"main\", kind: Function })",
1239
1239
]
1240
1240
"# ] ] ,
@@ -1263,10 +1263,10 @@ foo!();
1263
1263
"# ,
1264
1264
expect ! [ [ r#"
1265
1265
[
1266
+ "(TestMod, NavigationTarget { file_id: FileId(0), full_range: 210..217, name: \"foo_tests\", kind: Module, description: \"mod foo_tests\" }, true)",
1266
1267
"(Test, NavigationTarget { file_id: FileId(0), full_range: 210..217, name: \"foo0\", kind: Function }, true)",
1267
1268
"(Test, NavigationTarget { file_id: FileId(0), full_range: 210..217, name: \"foo1\", kind: Function }, true)",
1268
1269
"(Test, NavigationTarget { file_id: FileId(0), full_range: 210..217, name: \"foo2\", kind: Function }, true)",
1269
- "(TestMod, NavigationTarget { file_id: FileId(0), full_range: 210..217, name: \"foo_tests\", kind: Module, description: \"mod foo_tests\" }, true)",
1270
1270
]
1271
1271
"# ] ] ,
1272
1272
) ;
0 commit comments