This repository was archived by the owner on Dec 19, 2018. It is now read-only.
File tree 3 files changed +11
-7
lines changed
Microsoft.AspNet.Razor.Runtime.Test
Microsoft.AspNet.Razor.Test
3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 3
3
"dependencies" : {
4
4
"Microsoft.AspNet.Razor.Runtime" : " 4.0.0-*" ,
5
5
"Microsoft.AspNet.Testing" : " 1.0.0-*" ,
6
- "Xunit.KRunner " : " 1.0.0-*"
6
+ "xunit.runner.kre " : " 1.0.0-*"
7
7
},
8
8
"commands" : {
9
- "test" : " Xunit.KRunner "
9
+ "test" : " xunit.runner.kre "
10
10
},
11
11
"frameworks" : {
12
12
"aspnet50" : { },
13
13
"aspnetcore50" : {
14
14
"dependencies" : {
15
+ "System.Reflection.TypeExtensions" : " 4.0.0-beta-*" ,
15
16
"System.Runtime.Extensions" : " 4.0.10-beta-*"
16
17
}
17
18
}
Original file line number Diff line number Diff line change @@ -168,8 +168,10 @@ public void GetDescriptors_RemoveTagHelperNotInDocument_DoesNotThrow()
168
168
new ParserErrorSink ( ) ) ;
169
169
var document = new MarkupBlock ( Factory . Markup ( "Hello World" ) ) ;
170
170
171
- // Act & Assert
172
- Assert . DoesNotThrow ( ( ) => addOrRemoveTagHelperSpanVisitor . GetDescriptors ( document ) ) ;
171
+ // Act
172
+ var descriptors = addOrRemoveTagHelperSpanVisitor . GetDescriptors ( document ) ;
173
+
174
+ Assert . Empty ( descriptors ) ;
173
175
}
174
176
175
177
private class TestTagHelperDescriptorResolver : ITagHelperDescriptorResolver
Original file line number Diff line number Diff line change 5
5
"Moq" : " 4.2.1312.1622" ,
6
6
"Microsoft.AspNet.Razor" : " 4.0.0-*" ,
7
7
"Microsoft.AspNet.Testing" : " 1.0.0-*" ,
8
- "Xunit.KRunner " : " 1.0.0-*"
8
+ "xunit.runner.kre " : " 1.0.0-*"
9
9
},
10
10
"commands" : {
11
- "test" : " Xunit.KRunner "
11
+ "test" : " xunit.runner.kre "
12
12
},
13
13
"frameworks" : {
14
14
"aspnet50" : { },
15
15
"aspnetcore50" : {
16
16
"dependencies" : {
17
- "System.Diagnostics.TraceSource" : " 4.0.0-beta-*"
17
+ "System.Diagnostics.TraceSource" : " 4.0.0-beta-*" ,
18
+ "System.Reflection.TypeExtensions" : " 4.0.0-beta-*"
18
19
}
19
20
}
20
21
}
You can’t perform that action at this time.
0 commit comments