Opened 12 years ago

Closed 12 years ago

#5249 closed Patches (fixed)

Fix to cloning_test patch

Reported by: Chris Jefferson Owned by: Emil Dotchevski
Milestone: To Be Determined Component: exception
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

libs/exception/test/cloning_test.cpp tests that the what() string of standard exceptions is exactly the passed in string.

The standard only requires the passed in string is included in the output of what(). Some standard libraries (including libc++) include extra information in the output of what().

The attached patch just tweaks the test, to just check what() contains "what", rather than is equal to it.

Attachments (1)

exception_test.patch (941 bytes ) - added by Chris Jefferson 12 years ago.
Patch to libs/exception/test/cloning_test.cpp

Download all attachments as: .zip

Change History (2)

by Chris Jefferson, 12 years ago

Attachment: exception_test.patch added

Patch to libs/exception/test/cloning_test.cpp

comment:1 by Emil Dotchevski, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.