View | Details | Raw Unified | Return to bug 27673
Collapse All | Expand All

(-)a/t/Context.t (-2 / +1 lines)
Lines 42-48 subtest 'yaml_preference() tests' => sub { Link Here
42
42
43
    is_deeply( $pref, $data, 'yaml_preference returns the right structure' );
43
    is_deeply( $pref, $data, 'yaml_preference returns the right structure' );
44
44
45
    $context->mock( 'preference', q{- uno - dos: asd} );
45
    $context->mock( 'preference', qq{- uno: dsa\n\t- dos: asd} );
46
    warning_like
46
    warning_like
47
        { $pref = C4::Context->new->yaml_preference('nothing') }
47
        { $pref = C4::Context->new->yaml_preference('nothing') }
48
        qr/^Unable to parse nothing syspref/,
48
        qr/^Unable to parse nothing syspref/,
49
- 

Return to bug 27673