Make WordPress Core


Ignore:
Timestamp:
07/16/2012 05:24:25 PM (12 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_includes_wp-styles.php

    r896 r903  
    3535        $expected .= "<link rel='stylesheet' id='no-deps-null-version-css'  href='http://example.com' type='text/css' media='all' />\n";
    3636        $expected .= "<link rel='stylesheet' id='no-deps-null-version-print-media-css'  href='http://example.com' type='text/css' media='print' />\n";
    37        
     37
    3838        $this->assertEquals($expected, get_echo('wp_print_styles'));
    3939
     
    4141        $this->assertEquals("", get_echo('wp_print_styles'));
    4242    }
    43    
     43
    4444    /**
    4545     * Test the different protocol references in wp_enqueue_style
     
    6262        wp_enqueue_style( 'reset-css-https', 'http://yui.yahooapis.com/2.8.1/build/reset/reset-min.css' );
    6363        $expected  .= "<link rel='stylesheet' id='reset-css-https-css'  href='http://yui.yahooapis.com/2.8.1/build/reset/reset-min.css?ver=$ver' type='text/css' media='all' />\n";
    64        
     64
    6565        // Try with an automatic protocol reference (//)
    6666        wp_enqueue_style( 'reset-css-doubleslash', '//yui.yahooapis.com/2.8.1/build/reset/reset-min.css' );
Note: See TracChangeset for help on using the changeset viewer.