config->set('AutoFormat.DisplayLinkURI', true); } function testBasicLink() { $this->assertResult( 'Don\'t go here!', 'Don\'t go here! (http://malware.example.com)' ); } function testEmptyLink() { $this->assertResult( 'Don\'t go here!', 'Don\'t go here!' ); } function testEmptyText() { $this->assertResult( '', ' (http://malware.example.com)' ); } } // vim: et sw=4 sts=4