Skip to content

Commit 8a18bb9

Browse files
committed
fixed unit test
1 parent a30576b commit 8a18bb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/Test.Analyzers/Test_Crds.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public class V1Example
161161
var testCompilation = new TestCompilationBuilder()
162162
.AddSourceGenerator<CustomResourceDefinitionGenerator>()
163163
.AddSource(source)
164-
.AddAssembly($@"C:\src\operator-sdk\test\Test.Analyzers\bin\Debug\net8.0\KubernetesClient.Models.dll")
164+
.AddAssembly(typeof(V1Condition).Assembly)
165165
.AddOption("build_property.NeonOperatorGenerateCrds", true)
166166
.AddOption("build_property.NeonOperatorCrdOutputDir", tempFile.Path)
167167
.Build();

0 commit comments

Comments
 (0)