diff --git a/test/optional_test.cpp b/test/optional_test.cpp index db89c68..80beb41 100644 --- a/test/optional_test.cpp +++ b/test/optional_test.cpp @@ -450,7 +450,7 @@ void test_throwing_val_assign_on_initialized( T const* ) { // This should: // Attempt to assign 'a' and throw. - // opt is kept initialized but its value not neccesarily fully assigned + // opt is kept initialized but its value not necessarily fully assigned // (in this test, incompletely assigned is flagged with the value -1 being set) set_pending_assign( ARG(T) ) ; opt.reset ( a ) ; @@ -575,7 +575,7 @@ void test_throwing_assign_to_initialized( T const* ) { // This should: // Attempt to copy construct 'opt1.value()' into opt0 and throw. - // opt0 is kept initialized but its value not neccesarily fully assigned + // opt0 is kept initialized but its value not necessarily fully assigned // (in this test, incompletely assigned is flagged with the value -1 being set) set_pending_assign( ARG(T) ) ; opt0 = opt1 ;