Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4112806
ErrorTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
413 B
Referenced Files
None
Subscribers
None
ErrorTest.php
View Options
<?php
use
Eris\Generators
;
class
ErrorTest
extends
\PHPUnit\Framework\TestCase
{
use
Eris\TestTrait
;
public
function
testGenericExceptionsDoNotShrinkButStillShowTheInput
()
{
$this
->
forAll
(
Generators
::
string
()
)
->
then
(
function
(
$string
)
{
throw
new
RuntimeException
(
"Something like a missing array index happened."
);
});
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 23:02 (1 d, 3 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d6/f5/0e8b86823357bfe1752987630968
Default Alt Text
ErrorTest.php (413 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment