Skip to content

Commit 74c137d

Browse files
authored
Merge pull request #32 from MilkyWare/master
Updated placeholder to isDateTime
2 parents 8085d44 + 8cad689 commit 74c137d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main/net-placeholders/IsDatePlaceholderHandler.cs renamed to src/main/net-placeholders/IsDateTimePlaceholderHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ limitations under the License.
2222
namespace Org.XmlUnit.Placeholder
2323
{
2424
/// <summary>
25-
/// Handler for the "isDate" handler placeholder keyword
25+
/// Handler for the "isDateTime" handler placeholder keyword
2626
/// </summary>
27-
public class IsDatePlaceholderHandler : IPlaceholderHandler
27+
public class IsDateTimePlaceholderHandler : IPlaceholderHandler
2828
{
29-
private const string _keyword = "isDate";
29+
private const string _keyword = "isDateTime";
3030

3131
/// <inheritdoc/>
3232
public string Keyword => _keyword;

src/tests/net-placeholders/IsDatePlaceholderHandlerTests.cs renamed to src/tests/net-placeholders/IsDateTimePlaceholderHandlerTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ limitations under the License.
2323
namespace Org.XmlUnit.Placeholder
2424
{
2525
[TestFixture()]
26-
public class IsDatePlaceholderHandlerTests
26+
public class IsDateTimePlaceholderHandlerTests
2727
{
28-
private IPlaceholderHandler placeholderHandler = new IsDatePlaceholderHandler();
28+
private IPlaceholderHandler placeholderHandler = new IsDateTimePlaceholderHandler();
2929

3030
[Test]
3131
[TestCase("01-01-2020", TestName = "ShouldEvaluateDateWithDashes", ExpectedResult = ComparisonResult.EQUAL)]
@@ -56,7 +56,7 @@ public ComparisonResult EvaluateOtherCulturesTest(string testText, string cultur
5656
[Test]
5757
public void ShouldGetKeyword()
5858
{
59-
string expected = "isDate";
59+
string expected = "isDateTime";
6060
string keyword = placeholderHandler.Keyword;
6161

6262
Assert.AreEqual(expected, keyword);

0 commit comments

Comments
 (0)