Bug
- Fixed a bug that caused a commond dateformat (YDM-HN) to be misinterpreted as a UUID. Solution is to increase minimum partial UUID length from 9 to 14.
This commit is contained in:
@@ -137,23 +137,23 @@ like ($output, qr/one/, "Found with $short");
|
||||
|
||||
($short) = $uuid =~ /^(.{13})/;
|
||||
$output = qx{../src/task rc:bug.rc $short list 2>&1};
|
||||
like ($output, qr/one/, "Found with $short");
|
||||
unlike ($output, qr/one/, "Not found with $short");
|
||||
|
||||
($short) = $uuid =~ /^(.{12})/;
|
||||
$output = qx{../src/task rc:bug.rc $short list 2>&1};
|
||||
like ($output, qr/one/, "Found with $short");
|
||||
unlike ($output, qr/one/, "Not found with $short");
|
||||
|
||||
($short) = $uuid =~ /^(.{11})/;
|
||||
$output = qx{../src/task rc:bug.rc $short list 2>&1};
|
||||
like ($output, qr/one/, "Found with $short");
|
||||
unlike ($output, qr/one/, "Not found with $short");
|
||||
|
||||
($short) = $uuid =~ /^(.{10})/;
|
||||
$output = qx{../src/task rc:bug.rc $short list 2>&1};
|
||||
like ($output, qr/one/, "Found with $short");
|
||||
unlike ($output, qr/one/, "Not found with $short");
|
||||
|
||||
($short) = $uuid =~ /^(.{9})/;
|
||||
$output = qx{../src/task rc:bug.rc $short list 2>&1};
|
||||
like ($output, qr/one/, "Found with $short");
|
||||
unlike ($output, qr/one/, "Not found with $short");
|
||||
|
||||
($short) = $uuid =~ /^(.{8})/;
|
||||
$output = qx{../src/task rc:bug.rc $short list 2>&1};
|
||||
|
||||
Reference in New Issue
Block a user