l">"boom!"</span>);
}, <span class="string_literal">"boom!"</span>);

<span class="comment">// Makes sure it throws, but does not check the message
</span><span class="psymbol">shouldThrow</span>(<span class="keyword">delegate</span>() {
	<span class="keyword">throw</span> <span class="keyword">new</span> Exception(<span class="string_literal">"boom!"</span>);
});

<span class="comment">// Will throw an exception like "AssertError@test/example.d(7): Exception was not thrown. Expected: boom!"
</span