Commit c5f3332c authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

made sure the assignment test covers all cases.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 3c079171
......@@ -97,7 +97,8 @@ TEST_F(TSIGKeyTest, assignment) {
// Check if the copied data is valid even after the original is deleted
TSIGKey* copy2 = new TSIGKey(original);
TSIGKey copy3 = *copy2;
TSIGKey copy3(original);
copy3 = *copy2;
delete copy2;
compareTSIGKeys(original, copy3);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment