| Akron | 196f991 | 2024-06-19 09:58:13 +0200 | [diff] [blame] | 1 | use Test::More; |
| 2 | use strict; |
| 3 | use warnings; |
| 4 | |
| 5 | # This is a collection of tests to trigger requirements |
| 6 | # that may otherwise be removed by slimming docker images. |
| 7 | |
| 8 | use_ok('CHI'); |
| 9 | |
| 10 | my $cache = CHI->new(driver => 'Null'); |
| 11 | |
| 12 | ok($cache); |
| 13 | |
| Akron | f87af5c | 2026-01-24 12:24:38 +0100 | [diff] [blame] | 14 | $cache = CHI->new(driver => 'File'); |
| 15 | |
| 16 | ok($cache); |
| 17 | |
| 18 | $cache = CHI->new(driver => 'FastMmap'); |
| 19 | |
| 20 | ok($cache); |
| 21 | |
| Akron | 196f991 | 2024-06-19 09:58:13 +0200 | [diff] [blame] | 22 | done_testing; |
| 23 | __END__ |