unit-threaded ~master (2021-10-11T15:13:26Z)
Home
Dub
Repo
shouldThrow
unit_threaded
light
Assert that expr throws.
void
shouldThrow
(
T
:
Throwable
=
Exception
E
)
(
lazy
E
expr
,
string
file
= __FILE__
,
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.