<commit_before>#include <cgreen/cgreen.h>
#include <cgreen/mocks.h>

void convert_to_uppercase(char *converted_string, const char *original_string) {
    mock(converted_string, original_string);
}

Ensure(setting_content_of_out_parameter) {
    expect(convert_to_uppercase,
           when(original_string, is_equal_to_string("upper case")),
           will_set_content_of_parameter(&converted_string,
                                         "UPPER CASE", 11));

}
<commit_msg>[doc][set_parameter] Fix error in example code<commit_after>#include <cgreen/cgreen.h>
#include <cgreen/mocks.h>

void convert_to_uppercase(char *converted_string, const char *original_string) {
    mock(converted_string, original_string);
}

Ensure(setting_content_of_out_parameter) {
    expect(convert_to_uppercase,
           when(original_string, is_equal_to_string("upper case")),
           will_set_content_of_parameter(converted_string,
                                         "UPPER CASE", 11));

}

{'fraction_non_alphanumeric': 0.09817813765182186, 'fraction_numerical': 0.004048582995951417, 'mean_word_length': 3.6650943396226414, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4204476', 'n_tokens_mistral': 312, 'n_tokens_neox': 308, 'n_words': 47}