mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-24 18:35:47 +08:00
Update dependencies
* Add support for C# 12 * Run all tests on all major .NET SDKs * Only build on Ubuntu * Do not build docs for pull requests * Add Cédric Luthi, and Frank Ray to authors * Drop netstandard2.0 for ImageSharp plugin
This commit is contained in:
committed by
Patrik Svensson
parent
703d653ec5
commit
b21e07ea94
@@ -12,7 +12,7 @@ public class NoCurrentLiveRenderablesTests
|
||||
const string Source = @"
|
||||
using Spectre.Console;
|
||||
|
||||
class TestClass
|
||||
class TestClass
|
||||
{
|
||||
void Go()
|
||||
{
|
||||
@@ -24,8 +24,7 @@ class TestClass
|
||||
}";
|
||||
|
||||
await SpectreAnalyzerVerifier<NoConcurrentLiveRenderablesAnalyzer>
|
||||
.VerifyAnalyzerAsync(Source, _expectedDiagnostics.WithLocation(10, 13))
|
||||
.ConfigureAwait(false);
|
||||
.VerifyAnalyzerAsync(Source, _expectedDiagnostics.WithLocation(10, 13));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -48,8 +47,7 @@ class Child
|
||||
}";
|
||||
|
||||
await SpectreAnalyzerVerifier<NoConcurrentLiveRenderablesAnalyzer>
|
||||
.VerifyAnalyzerAsync(Source, _expectedDiagnostics.WithLocation(12, 13))
|
||||
.ConfigureAwait(false);
|
||||
.VerifyAnalyzerAsync(Source, _expectedDiagnostics.WithLocation(12, 13));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -69,7 +67,6 @@ class Program
|
||||
}";
|
||||
|
||||
await SpectreAnalyzerVerifier<NoConcurrentLiveRenderablesAnalyzer>
|
||||
.VerifyAnalyzerAsync(Source)
|
||||
.ConfigureAwait(false);
|
||||
.VerifyAnalyzerAsync(Source);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user