diff --git tests/phpunit/tests/dependencies/scripts.php tests/phpunit/tests/dependencies/scripts.php
index 3f4e724..783cf00 100644
--- tests/phpunit/tests/dependencies/scripts.php
+++ tests/phpunit/tests/dependencies/scripts.php
@@ -84,4 +84,21 @@ class Tests_Dependencies_Scripts extends WP_UnitTestCase {
 		// Cleanup
 		$wp_scripts->base_url = $base_url_backup;
 	}
+
+	/**
+	 * Test Conditional Comments
+	 * @ticket 10624
+	 */
+	function test_wp_script_add_data() {
+		// Enqueue & add conditional comments
+		wp_enqueue_script( 'twentytwelve-html5', 'example.com', array(), '1.0' );
+		wp_script_add_data( 'twentytwelve-html5', 'conditional', 'lt IE 9' );
+		$expected = "<!--[if lt IE 9]>\n<script type='text/javascript' src='http://example.com?ver=1.0'></script>\n<![endif]-->\n";
+
+		// Go!
+		$this->assertEquals( $expected, get_echo( 'wp_print_scripts' ) );
+
+		// No scripts left to print
+		$this->assertEquals( '', get_echo( 'wp_print_scripts' ) );
+	}
 }
