title: EXPECT_THROW - Actual: it throws a different type, google tests
body: <p>Hi guys so i have this constructor</p>
  <pre><code>Matrix::Matrix(size_t row, size_t col)
  {
    if(row &lt; 1 || col &lt; 1)
      throw new std::runtime_error(&quot;Minimalni velikost matice je 1x1&quot;);
    matrix = std::vector&lt;std::vector&lt; double &gt; &gt;(row,std::vector&lt;double&gt;(col, 0));
  }
  </code></pre>
  <p>and this test</p>
  <pre><code>Matrix *TestedMatrix;
  EXPECT_THROW(TestedMatrix = new Matrix(-2,3),std::runtime_error );
  </code></pre>
  <p>but im still getting that exepction is of different type. I also tried <code>std::runtime_error*</code> but result is the same. I wanted use EXPECT_ANY_THROW at first but it was not displayed in my code coverage. Thanks for help ! :)</p>