Skip to content

Commit

Permalink
[doc][set_parameter] Fix error in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Mar 23, 2022
1 parent 13ac960 commit a67eb4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial_src/set_contents.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void convert_to_uppercase(char *converted_string, const char *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,
will_set_content_of_parameter(converted_string,
"UPPER CASE", 11));

}

0 comments on commit a67eb4a

Please sign in to comment.