distssh ~master (2021-10-15T05:03:41.2224273)
Dub
Repo
shouldThrow
unit_threaded
light
Assert that expr throws.
void
shouldThrow
(
T
:
Throwable
=
Exception
E
)
(
lazy
E
expr
,
in
string
file
= __FILE__
,
in
size_t
line
= __LINE__
)
Meta
Source
See Implementation
unit_threaded
light
aliases
UnitTestException
classes
TestCase
enums
isLikeAssociativeArray
functions
allTestData
check
checkCustom
fail
mock
mockStruct
runTests
runTestsImpl
should
shouldApproxEqual
shouldBeEmpty
shouldBeFalse
shouldBeGreaterThan
shouldBeIn
shouldBeNull
shouldBeSameJsonAs
shouldBeSameSetAs
shouldBeSmallerThan
shouldBeTrue
shouldEqual
shouldNotBeEmpty
shouldNotBeIn
shouldNotBeNull
shouldNotBeSameSetAs
shouldNotEqual
shouldNotThrow
shouldThrow
shouldThrowExactly
shouldThrowWithMessage
writelnUt
interfaces
Output
mixin templates
runTestsMain
Assert that expr throws.