Skip to content

Commit

Permalink
Make some types internal
Browse files Browse the repository at this point in the history
  • Loading branch information
Romfos committed Dec 18, 2023
1 parent 3052ac2 commit 6ba6e39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NGherkin/GherkinFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace NGherkin;

public sealed class GherkinFeature(
internal sealed class GherkinFeature(
string name,
GherkinDocument gherkinDocument)
{
Expand Down
2 changes: 1 addition & 1 deletion src/NGherkin/GherkinStep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace NGherkin;

public sealed class GherkinStep(
internal sealed class GherkinStep(
Type serviceType,
MethodInfo method,
string keyword,
Expand Down
4 changes: 4 additions & 0 deletions src/NGherkin/NGherkin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<PackageReference Include="Gherkin" Version="27.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="NGherkin.TestAdapter"/>
</ItemGroup>

<ItemGroup>
<None Include="../NGherkin.props" Pack="true" PackagePath="build" />
Expand Down

0 comments on commit 6ba6e39

Please sign in to comment.