Changeset 09ab0a9a in mainline for uspace/lib/c/test/sprintf.c


Ignore:
Timestamp:
2018-09-13T12:05:53Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc74cb5
Parents:
b2aaaa0
git-author:
Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
git-committer:
Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
Message:

Fix vertical spacing with new Ccheck revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/test/sprintf.c

    rb2aaaa0 r09ab0a9a  
    3535#define TF(expected, format, ...) TEQ(expected, fmt(format, ##__VA_ARGS__))
    3636
    37 
    3837#define SPRINTF_TEST(test_name, expected_string, actual_format, ...) \
    3938        PCUT_TEST(test_name) { \
     
    5352}
    5453
    55 
    56 
    5754SPRINTF_TEST(no_formatting, "This is a test.", "This is a test.");
    58 
    59 
    6055
    6156SPRINTF_TEST(string_plain, "some text", "%s", "some text");
     
    6964SPRINTF_TEST(string_pad_but_cut, "  very lon", "%10.8s", "very long text");
    7065
    71 
    72 
    7366SPRINTF_TEST(char_basic, "[a]", "[%c]", 'a');
    74 
    75 
    7667
    7768SPRINTF_TEST(int_various_padding, "[1] [ 02] [03 ] [004] [005]",
     
    9283    17, 18, 19, 20, 21);
    9384
    94 
    95 
    96 
    9785PCUT_EXPORT(sprintf);
Note: See TracChangeset for help on using the changeset viewer.