Skip to content

Commit

Permalink
Merge pull request #32 from MilkyWare/master
Browse files Browse the repository at this point in the history
Updated placeholder to isDateTime
  • Loading branch information
bodewig committed May 7, 2020
2 parents 8085d44 + 8cad689 commit 74c137d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -22,11 +22,11 @@
namespace Org.XmlUnit.Placeholder
{
/// <summary>
/// Handler for the "isDate" handler placeholder keyword
/// Handler for the "isDateTime" 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 74c137d

Please sign in to comment.