File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed
test/Serilog.Sinks.File.Tests Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 22using System . Reflection ;
33using System . Runtime . CompilerServices ;
44
5- [ assembly: AssemblyVersion ( "2.0.0.0" ) ]
6-
75[ assembly: CLSCompliant ( true ) ]
86
97[ assembly: InternalsVisibleTo ( "Serilog.Sinks.File.Tests, PublicKey=" +
Original file line number Diff line number Diff line change 1616 <PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
1717 <RepositoryUrl >https://github.com/serilog/serilog-sinks-file</RepositoryUrl >
1818 <RepositoryType >git</RepositoryType >
19- <GenerateAssemblyVersionAttribute >false</GenerateAssemblyVersionAttribute >
2019 <RootNamespace >Serilog</RootNamespace >
2120 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
2221 <DisableImplicitFrameworkReferences Condition =" '$(TargetFramework)' == 'netstandard1.3' " >true</DisableImplicitFrameworkReferences >
Original file line number Diff line number Diff line change 33using System . IO ;
44using System . IO . Compression ;
55using System . Linq ;
6- using System . Reflection ;
76using Xunit ;
87using Serilog . Events ;
98using Serilog . Sinks . File . Tests . Support ;
@@ -128,7 +127,7 @@ public void WhenRetentionCountAndTimeIsSetOldFilesAreDeletedByCount()
128127 Assert . True ( System . IO . File . Exists ( files [ 2 ] ) ) ;
129128 } ) ;
130129 }
131-
130+
132131 [ Fact ]
133132 public void WhenRetentionCountAndArchivingHookIsSetOldFilesAreCopiedAndOriginalDeleted ( )
134133 {
@@ -261,13 +260,6 @@ public void IfTheLogFolderDoesNotExistItWillBeCreated()
261260 }
262261 }
263262
264- [ Fact ]
265- public void AssemblyVersionIsFixedAt200 ( )
266- {
267- var assembly = typeof ( FileLoggerConfigurationExtensions ) . GetTypeInfo ( ) . Assembly ;
268- Assert . Equal ( "2.0.0.0" , assembly . GetName ( ) . Version . ToString ( 4 ) ) ;
269- }
270-
271263 static void TestRollingEventSequence ( params LogEvent [ ] events )
272264 {
273265 TestRollingEventSequence (
You can’t perform that action at this time.
0 commit comments