--- t/05-cache.t 2008/06/22 14:41:23 219 +++ t/05-cache.t 2008/06/27 17:53:30 227 @@ -19,12 +19,13 @@ my $instance = 'cache'; -ok( my $strix = A3C::Cache->new({ instance => $instance }), 'new' ); +ok( my $strix = A3C::Cache->new({ instance => $instance, dir => 't' }), 'new' ); isa_ok( $strix, 'A3C::Cache' ); # cache ok( my $path = $strix->cache_path( 'test', 42, 'bar' ), 'cache_path' ); -like( $path, qr/test-42-bar/, 'correct' ); +like( $path, qr'var/t/.*test-42-bar', 'correct' ); +diag "path: $path"; my $data = 'scalar'; SKIP: {