@@ -51,7 +51,9 @@ public sealed class Item : Identifiable<long>
51
51
GeneratorDriverRunResult runResult = driver . GetRunResult ( ) ;
52
52
runResult . Should ( ) . NotHaveDiagnostics ( ) ;
53
53
54
- runResult . Should ( ) . HaveProducedSourceCode ( @"using Microsoft.Extensions.Logging;
54
+ runResult . Should ( ) . HaveProducedSourceCode ( @"// <auto-generated />
55
+
56
+ using Microsoft.Extensions.Logging;
55
57
using JsonApiDotNetCore.Configuration;
56
58
using JsonApiDotNetCore.Controllers;
57
59
using JsonApiDotNetCore.Services;
@@ -111,7 +113,9 @@ public sealed class Item : Identifiable<long>
111
113
GeneratorDriverRunResult runResult = driver . GetRunResult ( ) ;
112
114
runResult . Should ( ) . NotHaveDiagnostics ( ) ;
113
115
114
- runResult . Should ( ) . HaveProducedSourceCode ( @"using Microsoft.Extensions.Logging;
116
+ runResult . Should ( ) . HaveProducedSourceCode ( @"// <auto-generated />
117
+
118
+ using Microsoft.Extensions.Logging;
115
119
using JsonApiDotNetCore.Configuration;
116
120
using JsonApiDotNetCore.Controllers;
117
121
using JsonApiDotNetCore.Services;
@@ -171,7 +175,9 @@ public sealed class Item : Identifiable<long>
171
175
GeneratorDriverRunResult runResult = driver . GetRunResult ( ) ;
172
176
runResult . Should ( ) . NotHaveDiagnostics ( ) ;
173
177
174
- runResult . Should ( ) . HaveProducedSourceCode ( @"using Microsoft.Extensions.Logging;
178
+ runResult . Should ( ) . HaveProducedSourceCode ( @"// <auto-generated />
179
+
180
+ using Microsoft.Extensions.Logging;
175
181
using JsonApiDotNetCore.Configuration;
176
182
using JsonApiDotNetCore.Controllers;
177
183
using JsonApiDotNetCore.Services;
@@ -234,7 +240,9 @@ public sealed class Item : Identifiable<long>
234
240
GeneratorDriverRunResult runResult = driver . GetRunResult ( ) ;
235
241
runResult . Should ( ) . NotHaveDiagnostics ( ) ;
236
242
237
- runResult . Should ( ) . HaveProducedSourceCode ( @"using Microsoft.Extensions.Logging;
243
+ runResult . Should ( ) . HaveProducedSourceCode ( @"// <auto-generated />
244
+
245
+ using Microsoft.Extensions.Logging;
238
246
using JsonApiDotNetCore.Configuration;
239
247
using JsonApiDotNetCore.Controllers;
240
248
using JsonApiDotNetCore.Services;
@@ -574,7 +582,9 @@ public sealed class Item : Identifiable<long>
574
582
GeneratorDriverRunResult runResult = driver . GetRunResult ( ) ;
575
583
runResult . Should ( ) . NotHaveDiagnostics ( ) ;
576
584
577
- runResult . Should ( ) . HaveProducedSourceCode ( @"using Microsoft.Extensions.Logging;
585
+ runResult . Should ( ) . HaveProducedSourceCode ( @"// <auto-generated />
586
+
587
+ using Microsoft.Extensions.Logging;
578
588
using JsonApiDotNetCore.Configuration;
579
589
using JsonApiDotNetCore.Controllers;
580
590
using JsonApiDotNetCore.Services;
@@ -633,7 +643,9 @@ public sealed class Item : Identifiable<long>
633
643
GeneratorDriverRunResult runResult = driver . GetRunResult ( ) ;
634
644
runResult . Should ( ) . NotHaveDiagnostics ( ) ;
635
645
636
- runResult . Should ( ) . HaveProducedSourceCode ( @"using Microsoft.Extensions.Logging;
646
+ runResult . Should ( ) . HaveProducedSourceCode ( @"// <auto-generated />
647
+
648
+ using Microsoft.Extensions.Logging;
637
649
using JsonApiDotNetCore.Configuration;
638
650
using JsonApiDotNetCore.Controllers;
639
651
using JsonApiDotNetCore.Services;
@@ -691,7 +703,9 @@ public sealed class Item : Identifiable<long>
691
703
GeneratorDriverRunResult runResult = driver . GetRunResult ( ) ;
692
704
runResult . Should ( ) . NotHaveDiagnostics ( ) ;
693
705
694
- runResult . Should ( ) . HaveProducedSourceCode ( @"using Microsoft.Extensions.Logging;
706
+ runResult . Should ( ) . HaveProducedSourceCode ( @"// <auto-generated />
707
+
708
+ using Microsoft.Extensions.Logging;
695
709
using JsonApiDotNetCore.Configuration;
696
710
using JsonApiDotNetCore.Controllers;
697
711
using JsonApiDotNetCore.Services;
0 commit comments