diff --git a/examples/Runlen.cpp b/examples/Runlen.cpp index 70267b4..dcfe123 100644 --- a/examples/Runlen.cpp +++ b/examples/Runlen.cpp @@ -48,7 +48,7 @@ void printBytes(const char* bytes) { #define MAX_STR_LEN 3 TEST(Runlength, EncodeDecode) { - char* original = DeepState_CStrUpToLen(MAX_STR_LEN); + char* original = DeepState_CStr(MAX_STR_LEN); char* encoded = encode(original); char* roundtrip = decode(encoded); if (!(strncmp(roundtrip, original, MAX_STR_LEN) == 0)) {