Skip to content

Commit

Permalink
removed flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
filipw committed Jul 31, 2020
1 parent 3cd6aea commit 56afd27
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions tests/OmniSharp.Roslyn.CSharp.Tests/IntellisenseFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -475,33 +475,6 @@ void M()
Assert.Contains(@"The ""G"" standard format specifier", gStandardCompletion.Description);
}

[Theory]
[InlineData("dummy.cs")]
[InlineData("dummy.csx")]
public async Task Embedded_language_completion_provider_for_regex(string filename)
{
const string source = @"
using System;
using System.Text.RegularExpressions;
class C
{
void M()
{
var r = Regex.Match(""foo"", ""$$""
}
}
";

var completions = await FindCompletionsAsync(filename, source);

Assert.NotEmpty(completions);

var wCompletion = completions.FirstOrDefault(x => x.CompletionText == @"\w");
Assert.NotNull(wCompletion);
Assert.Equal("word character", wCompletion.DisplayText);
Assert.Contains(@"matches any word character", wCompletion.Description);
}

[Fact]
public async Task Scripting_by_default_returns_completions_for_CSharp7_1()
{
Expand Down

0 comments on commit 56afd27

Please sign in to comment.