File: SQLite-3.37.0.patch

package info (click to toggle)
libclass-dbi-plugin-type-perl 0.02-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 104 kB
  • sloc: perl: 33; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 1,131 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Fix test failures with SQLite 3.37.0
 #   Failed test 'notes is text'
 #   at t/1.t line 28.
 #                   'TEXT'
 #     doesn't match '(?^:text|blob)'
 #   Failed test 'id is integer'
 #   at t/1.t line 31.
 #                   'INT'
 #     doesn't match '(?^:^int)'
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2022-01-18
Bug-Debian: https://bugs.debian.org/1003896
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=140750
Bug: https://rt.cpan.org/Ticket/Display.html?id=140750

--- a/t/1.t
+++ b/t/1.t
@@ -25,8 +25,8 @@
 )");
 DBI::Test->table("test");
 use_ok('Class::DBI::Plugin::Type');
-like(DBI::Test->column_type("notes"), qr/text|blob/, "notes is text");
+like(DBI::Test->column_type("notes"), qr/text|blob/i, "notes is text");
 is(DBI::Test->column_type("tasted"), "date", "tasted is a date");
 like(DBI::Test->column_type("price"), qr/^decimal/, "price is decimal");
-like(DBI::Test->column_type("id"), qr/^int/, "id is integer");
+like(DBI::Test->column_type("id"), qr/^int/i, "id is integer");
 like(DBI::Test->column_type("name"), qr/^varchar/, "name is varchar");