Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
genlu committed Feb 17, 2022
1 parent ef0d63f commit 342fbde
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#nullable disable

using System;
using System.Collections.Immutable;
using System.Linq;
Expand All @@ -20,7 +18,7 @@ private static void AssertItemsEqual(ImmutableArray<CompletionItem> actual, para
{
AssertEx.Equal(
expected,
actual.Select(c => $"'{c.DisplayText}', {string.Join(", ", c.Tags)}, '{c.Properties["Description"]}'"),
actual.Select(c => $"'{c.DisplayText}', {string.Join(", ", c.Tags)}, '{c.Properties[CommonCompletionItem.DescriptionProperty]}'"),
itemInspector: c => $"@\"{c}\"");

Assert.True(actual.All(i => i.Rules == TestFileSystemCompletionHelper.CompletionRules));
Expand Down

0 comments on commit 342fbde

Please sign in to comment.