Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
colombod committed Oct 2, 2020
1 parent ce8477d commit 61bed59
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions src/Microsoft.DotNet.Interactive.Tests/LanguageKernelTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@
using System.Collections.Immutable;
using System.IO;
using System.Threading.Tasks;

using Microsoft.DotNet.Interactive.Commands;
using Microsoft.DotNet.Interactive.CSharp;
using Microsoft.DotNet.Interactive.Events;
using Microsoft.DotNet.Interactive.FSharp;
using Microsoft.DotNet.Interactive.Jupyter;
using Microsoft.DotNet.Interactive.PowerShell;
using Microsoft.DotNet.Interactive.Tests.Utility;

using Pocket;

using Recipes;

using Serilog.Sinks.RollingFileAlternate;

using Xunit.Abstractions;

using SerilogLoggerConfiguration = Serilog.LoggerConfiguration;

namespace Microsoft.DotNet.Interactive.Tests
Expand Down Expand Up @@ -58,7 +64,7 @@ static LanguageKernelTestBase()
}

private readonly CompositeDisposable _disposables = new CompositeDisposable();

private static readonly AsyncLock _lock = new AsyncLock();
private readonly AsyncLock.Releaser _lockReleaser;

Expand All @@ -68,7 +74,7 @@ protected LanguageKernelTestBase(ITestOutputHelper output)

DisposeAfterTest(output.SubscribeToPocketLogger());
}

public void Dispose()
{
_disposables?.Dispose();
Expand All @@ -89,7 +95,7 @@ protected CompositeKernel CreateCompositeKernel(Language defaultKernelLanguage =
defaultKernelLanguage);
}

protected CompositeKernel CreateKernel(Language defaultLanguage = Language.CSharp,
protected CompositeKernel CreateKernel(Language defaultLanguage = Language.CSharp,
bool openTestingNamespaces = false)
{
var languageKernel = defaultLanguage switch
Expand Down Expand Up @@ -204,7 +210,7 @@ protected void DisposeAfterTest(IDisposable disposable)
{
_disposables.Add(disposable);
}

protected void DisposeAfterTest(Action action)
{
_disposables.Add(action);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<ItemGroup>
<PackageReference Include="Assent" Version="1.6.1" />
<PackageReference Include="AsyncLock" Version="1.0.0">
<PackageReference Include="AsyncLock" Version="0.1.8580001">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 61bed59

Please sign in to comment.