Skip to content

Commit

Permalink
refactor: move anglesharp generator tests into subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
egil committed Nov 29, 2023
1 parent 97d207d commit b5ee4af
Show file tree
Hide file tree
Showing 77 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Bunit.Web.AngleSharp;
using AngleSharp;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using System.Reflection;

namespace Bunit;
namespace Bunit.Web.AngleSharp;

[UsesVerify]
public class WrapperElementsGeneratorTest
Expand All @@ -19,7 +19,7 @@ public Task Generator()

var settings = new VerifySettings();
settings.AutoVerify();
return Verifier.Verify(driver.GetRunResult(), settings);
return Verify(driver.GetRunResult(), settings);
}

private static Compilation CreateCompilation()
Expand All @@ -30,7 +30,7 @@ private static Compilation CreateCompilation()
references: new[]
{
MetadataReference.CreateFromFile(typeof(Binder).GetTypeInfo().Assembly.Location),
MetadataReference.CreateFromFile(typeof(AngleSharp.BrowsingContext).Assembly.Location),
MetadataReference.CreateFromFile(typeof(BrowsingContext).Assembly.Location),
},
options: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary));
}
Expand Down

0 comments on commit b5ee4af

Please sign in to comment.