Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermocalvo committed Oct 9, 2017
2 parents 388d626 + 3795aa2 commit 4b760b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignore:
- test
5 changes: 5 additions & 0 deletions test/person.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ TEST_CASE{

TEST_EQUALS("Doe, John (32 years)", buffer);

fmt_stream_buffer(&out, buffer, sizeof(buffer));
(void)fmt_print(&out, "%{Person:name} is %{Person:age} old.", &p, &p);

TEST_EQUALS("John is 32 years old.", buffer);

fmt_stream_buffer(&out, buffer, sizeof(buffer));
(void)fmt_print(&out, "Mr. %{Person:surname} is %{Age} old.", &p, p.age);

Expand Down

0 comments on commit 4b760b0

Please sign in to comment.