File tree 3 files changed +1
-12
lines changed
test/Serilog.Sinks.File.Tests
3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 2
2
using System . Reflection ;
3
3
using System . Runtime . CompilerServices ;
4
4
5
- [ assembly: AssemblyVersion ( "2.0.0.0" ) ]
6
-
7
5
[ assembly: CLSCompliant ( true ) ]
8
6
9
7
[ assembly: InternalsVisibleTo ( "Serilog.Sinks.File.Tests, PublicKey=" +
Original file line number Diff line number Diff line change 16
16
<PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
17
17
<RepositoryUrl >https://github.com/serilog/serilog-sinks-file</RepositoryUrl >
18
18
<RepositoryType >git</RepositoryType >
19
- <GenerateAssemblyVersionAttribute >false</GenerateAssemblyVersionAttribute >
20
19
<RootNamespace >Serilog</RootNamespace >
21
20
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
22
21
<DisableImplicitFrameworkReferences Condition =" '$(TargetFramework)' == 'netstandard1.3' " >true</DisableImplicitFrameworkReferences >
Original file line number Diff line number Diff line change 3
3
using System . IO ;
4
4
using System . IO . Compression ;
5
5
using System . Linq ;
6
- using System . Reflection ;
7
6
using Xunit ;
8
7
using Serilog . Events ;
9
8
using Serilog . Sinks . File . Tests . Support ;
@@ -128,7 +127,7 @@ public void WhenRetentionCountAndTimeIsSetOldFilesAreDeletedByCount()
128
127
Assert . True ( System . IO . File . Exists ( files [ 2 ] ) ) ;
129
128
} ) ;
130
129
}
131
-
130
+
132
131
[ Fact ]
133
132
public void WhenRetentionCountAndArchivingHookIsSetOldFilesAreCopiedAndOriginalDeleted ( )
134
133
{
@@ -261,13 +260,6 @@ public void IfTheLogFolderDoesNotExistItWillBeCreated()
261
260
}
262
261
}
263
262
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
-
271
263
static void TestRollingEventSequence ( params LogEvent [ ] events )
272
264
{
273
265
TestRollingEventSequence (
You can’t perform that action at this time.
0 commit comments