dotnet-installer/test/Microsoft.DotNet.ProjectModel.Tests/FileSystemGlobbing/PatternSegments/CurrentPathSegmentTests.cs

21 lines
No EOL
684 B
C#

// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.ProjectModel.FileSystemGlobbing.Internal.PathSegments;
using Xunit;
namespace Microsoft.DotNet.ProjectModel.FileSystemGlobbing.Tests.PatternSegments
{
public class CurrentPathSegmentTests
{
[Theory]
[InlineData("anything")]
[InlineData("")]
[InlineData(null)]
public void Match(string testSample)
{
var pathSegment = new CurrentPathSegment();
Assert.False(pathSegment.Match(testSample));
}
}
}