21 lines
684 B
C#
21 lines
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));
|
||
|
}
|
||
|
}
|
||
|
}
|