File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
TestStack.ConventionTests.Tests Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11namespace SampleApp . Tests
22{
3- using System . Linq ;
43 using NUnit . Framework ;
54 using SampleApp . Domain ;
65 using TestStack . ConventionTests ;
@@ -15,7 +14,7 @@ public class DomainTests
1514 public DomainTests ( )
1615 {
1716 domainEntities = Types . InAssemblyOf < DomainClass > ( "Domain Entities" ,
18- types => types . Where ( t => t . Namespace . StartsWith ( "SampleApp.Domain" ) ) ) ;
17+ type => type . Namespace . StartsWith ( "SampleApp.Domain" ) ) ;
1918 }
2019
2120 [ Test ]
Original file line number Diff line number Diff line change 11namespace TestStack . ConventionTests . Tests
22{
3- using System . Linq ;
43 using ApprovalTests ;
54 using ApprovalTests . Reporters ;
65 using NUnit . Framework ;
@@ -17,7 +16,7 @@ public class TypeBasedConventions
1716 public TypeBasedConventions ( )
1817 {
1918 nhibernateEntities = Types . InAssemblyOf < SampleDomainClass > ( "nHibernate Entitites" ,
20- types => types . Where ( t => t . IsConcreteClass ( ) && t . Namespace == typeof ( SampleDomainClass ) . Namespace ) ) ;
19+ type => type . IsConcreteClass ( ) && type . Namespace == typeof ( SampleDomainClass ) . Namespace ) ;
2120 }
2221
2322 [ Test ]
You can’t perform that action at this time.
0 commit comments