test/test_Exception.cpp in rice-1.5.2 vs test/test_Exception.cpp in rice-1.5.3

- old
+ new

@@ -38,9 +38,10 @@ ASSERT_EQUAL(String("foo"), ex.message()); } TESTCASE(what) { + const char* foo = "foo"; Exception ex(rb_eRuntimeError, "%s", "foo"); - ASSERT_EQUAL("foo", ex.what()); + ASSERT_EQUAL(foo, ex.what()); }