X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ftests_structures%2Ftest_amorph.cpp;h=f6f66539edb728184198c33fb3757a09aaba4dda;hb=4b7b773fa8d67c2afc99519ed0d2b447480a9d04;hp=e5dfb1ca5e01fa65dd5ee66283fbe6b10eab0a75;hpb=457b128b77b5b4a0b7dd3094de543de2ce1477ad;p=feisty_meow.git diff --git a/nucleus/library/tests_structures/test_amorph.cpp b/nucleus/library/tests_structures/test_amorph.cpp index e5dfb1ca..f6f66539 100644 --- a/nucleus/library/tests_structures/test_amorph.cpp +++ b/nucleus/library/tests_structures/test_amorph.cpp @@ -207,7 +207,7 @@ int t_amorph::test_byte_array_amorph() LOG("before fred creation"); chaos randomizer; amorph fred(MAX_LIMBS - 1); - fred.append(NIL); // add one to make it max limbs big. + fred.append(NULL_POINTER); // add one to make it max limbs big. LOG("after append nil"); { for (int i = 0; i < fred.elements(); i++) { @@ -265,11 +265,11 @@ int t_amorph::test_byte_array_amorph() LOG("done unpacking in test_amorph"); ASSERT_TRUE(compare(fred, *new_fred), "first pack test, amorphs not the same"); abyte *cont1 - = (new_fred->get(14)? (*new_fred)[14]->access() : (abyte *)"NIL"); + = (new_fred->get(14)? (*new_fred)[14]->access() : (abyte *)"NULL_POINTER"); abyte *cont2 - = (new_fred->get(20)? (*new_fred)[20]->access() : (abyte *)"NIL"); + = (new_fred->get(20)? (*new_fred)[20]->access() : (abyte *)"NULL_POINTER"); abyte *cont3 - = (new_fred->get(36)? (*new_fred)[36]->access() : (abyte *)"NIL"); + = (new_fred->get(36)? (*new_fred)[36]->access() : (abyte *)"NULL_POINTER"); if (cont1) LOG(astring(astring::SPRINTF, "14: %s", cont1)); if (cont2) LOG(astring(astring::SPRINTF, "20: %s", cont2));