Skip to content

Commit

Permalink
Updated placeholder to isDateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
milkyware committed May 6, 2020
1 parent 8085d44 commit 4176667
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -24,9 +24,9 @@ namespace Org.XmlUnit.Placeholder
/// <summary>
/// Handler for the "isDate" handler placeholder keyword
/// </summary>
public class IsDatePlaceholderHandler : IPlaceholderHandler
public class IsDateTimePlaceholderHandler : IPlaceholderHandler
{
private const string _keyword = "isDate";
private const string _keyword = "isDateTime";

/// <inheritdoc/>
public string Keyword => _keyword;
Expand Down
Expand Up @@ -23,9 +23,9 @@
namespace Org.XmlUnit.Placeholder
{
[TestFixture()]
public class IsDatePlaceholderHandlerTests
public class IsDateTimePlaceholderHandlerTests
{
private IPlaceholderHandler placeholderHandler = new IsDatePlaceholderHandler();
private IPlaceholderHandler placeholderHandler = new IsDateTimePlaceholderHandler();

[Test]
[TestCase("01-01-2020", TestName = "ShouldEvaluateDateWithDashes", ExpectedResult = ComparisonResult.EQUAL)]
Expand Down Expand Up @@ -56,7 +56,7 @@ public ComparisonResult EvaluateOtherCulturesTest(string testText, string cultur
[Test]
public void ShouldGetKeyword()
{
string expected = "isDate";
string expected = "isDateTime";
string keyword = placeholderHandler.Keyword;

Assert.AreEqual(expected, keyword);
Expand Down

0 comments on commit 4176667

Please sign in to comment.