mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
these are not TODO any more
This commit is contained in:
parent
4af5487ca1
commit
071abbab23
1 changed files with 5 additions and 8 deletions
|
@ -49,12 +49,9 @@ my $types = $sth->{TYPE};
|
||||||
my $names = $sth->{NAME};
|
my $names = $sth->{NAME};
|
||||||
# diag "Types: @$types\nNames: @$names";
|
# diag "Types: @$types\nNames: @$names";
|
||||||
is scalar @$types, scalar @$names, '$sth->{TYPE} array is same length as $sth->{NAME} array';
|
is scalar @$types, scalar @$names, '$sth->{TYPE} array is same length as $sth->{NAME} array';
|
||||||
# FIXME: This is wrong! $sth->{TYPE} should return an array of integers see: rt #46873
|
# $sth->{TYPE} should return an array of integers see: rt #46873
|
||||||
TODO: {
|
|
||||||
local $TODO = '$sth->{TYPE} should return an array of integers.';
|
|
||||||
isnt $types->[0], 'VARCHAR(2)', '$sth->{TYPE}[0] doesn\'t return a string';
|
isnt $types->[0], 'VARCHAR(2)', '$sth->{TYPE}[0] doesn\'t return a string';
|
||||||
isnt $types->[1], 'CHAR(1)', '$sth->{TYPE}[1] doesn\'t return a string';
|
isnt $types->[1], 'CHAR(1)', '$sth->{TYPE}[1] doesn\'t return a string';
|
||||||
like $types->[0], qr/^-?\d+$/, '$sth->{TYPE}[0] returns an integer';
|
like $types->[0], qr/^-?\d+$/, '$sth->{TYPE}[0] returns an integer';
|
||||||
like $types->[1], qr/^-?\d+$/, '$sth->{TYPE}[1] returns an integer';
|
like $types->[1], qr/^-?\d+$/, '$sth->{TYPE}[1] returns an integer';
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue