From d762a7ca6cc8b9bf5a69fb06c822fb3d77f625e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 23 Mar 2017 21:16:52 +0100 Subject: [PATCH] Expanded documentation about THROWS_AS assertions --- docs/assertions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/assertions.md b/docs/assertions.md index ff79f0ee..b9d1a374 100644 --- a/docs/assertions.md +++ b/docs/assertions.md @@ -95,7 +95,7 @@ Expects that an exception (of any type) is be thrown during evaluation of the ex * **REQUIRE_THROWS_AS(** _expression_, _exception type_ **)** and * **CHECK_THROWS_AS(** _expression_, _exception type_ **)** -Expects that an exception of the _specified type_ is thrown during evaluation of the expression. +Expects that an exception of the _specified type_ is thrown during evaluation of the expression. Note that the _exception type_ is used verbatim and you should include (const) reference. * **REQUIRE_THROWS_WITH(** _expression_, _string or string matcher_ **)** and * **CHECK_THROWS_WITH(** _expression_, _string or string matcher_ **)**