Index: tests/phpunit/tests/functions.php
===================================================================
--- tests/phpunit/tests/functions.php	(revisão 36743)
+++ tests/phpunit/tests/functions.php	(cópia de trabalho)
@@ -51,6 +51,15 @@
 		$this->assertInternalType( 'string', $args['bar'] );
 	}
 
+	/**
+	 * @ticket #35972
+	 */
+	function test_bool_from_yn() {
+		$this->assertTrue(bool_from_yn('Y'));
+		$this->assertTrue(bool_from_yn('y'));
+		$this->assertFalse(bool_from_yn('n'));
+	}
+
 	function test_size_format() {
 		$b  = 1;
 		$kb = 1024;
