Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-15850 Remove duplicate format tests for Std.Date module #8860

Merged
merged 1 commit into from Jul 4, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 0 additions & 8 deletions ecllibrary/teststd/Date/TestFormat.ecl
Expand Up @@ -41,14 +41,6 @@ EXPORT TestFormat := MODULE
ASSERT(Date.DateToString(20110302, '%d %b %Y') = '02 Mar 2011');
ASSERT(Date.DateToString(20111202, '%d %B %Y') = '02 December 2011');

ASSERT(Date.MatchDateString('1dec2011',DateFormats) = 20111201);
ASSERT(Date.MatchDateString('2011dec1',DateFormats) = 20111201);
ASSERT(Date.MatchDateString('1 december 2011',DateFormats) = 20111201);
ASSERT(Date.MatchDateString('2011\tdecem\t01',DateFormats) = 20111201);
ASSERT(Date.MatchDateString('20111201',DateFormats) = 20111201);
ASSERT(Date.MatchDateString('2011-12-01',DateFormats) = 20111201);
ASSERT(Date.MatchDateString('1/12/2011',DateFormats) = 20111201);

ASSERT(Date.MatchTimeString('123456',TimeFormats) = 123456);
ASSERT(Date.MatchTimeString('12:34:56',TimeFormats) = 123456);
ASSERT(Date.MatchTimeString('12:34',TimeFormats) = 123400);
Expand Down