mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Fixed three sets of unit tests that recently broke when TDB::add started checking whether the uuid was really unique. This was intended to prevent accidental double import, but also caused these tests to break because they all shared the same uuid, which is wrong.
This commit is contained in:
parent
6e1a386ec8
commit
f0a5c917c9
3 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ if (open my $fh, '>', 'import.txt')
|
|||
{
|
||||
print $fh "'id','status','tags','entry','start','due','end','project','priority','fg','bg','description'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c267','pending','',1238037947,,,,'A','M',,,'foo bar'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c267','pending','',1238037947,,,,'A','M',,,'foo, bar'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c268','pending','',1238037947,,,,'A','M',,,'foo, bar'\n",
|
||||
"\n";
|
||||
close $fh;
|
||||
ok (-r 'import.txt', 'Created sample import data');
|
||||
|
|
|
@ -43,7 +43,7 @@ if (open my $fh, '>', 'import.txt')
|
|||
{
|
||||
print $fh "'id','uuid','status','tags','entry','start','due','recur','end','project','priority','fg','bg','description'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c267','pending','',1238037947,,,,,'A','M',,,'foo bar'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c267','pending','',1238037947,,,,,'A','M',,,'foo, bar'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c268','pending','',1238037947,,,,,'A','M',,,'foo, bar'\n",
|
||||
"\n";
|
||||
close $fh;
|
||||
ok (-r 'import.txt', 'Created sample import data');
|
||||
|
|
|
@ -43,7 +43,7 @@ if (open my $fh, '>', 'import.txt')
|
|||
{
|
||||
print $fh "'uuid','status','tags','entry','start','due','recur','end','project','priority','fg','bg','description'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c267','pending','',1238037947,,,,,'A','M',,,'foo bar'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c267','pending','',1238037947,,,,,'A','M',,,'foo, bar'\n",
|
||||
"'7f7a4191-c2f2-487f-8855-7a1eb378c268','pending','',1238037947,,,,,'A','M',,,'foo, bar'\n",
|
||||
"\n";
|
||||
close $fh;
|
||||
ok (-r 'import.txt', 'Created sample import data');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue