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


Ignore:
Timestamp:
2018-09-13T12:05:53Z (7 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.

Location:
uspace/lib/c/test
Files:
3 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);
  • uspace/lib/c/test/stdio/scanf.c

    rb2aaaa0 r09ab0a9a  
    10811081}
    10821082
    1083 
    10841083/** Float with integer part and positive exponent */
    10851084PCUT_TEST(float_intpart_posexp)
  • uspace/lib/c/test/str.c

    rb2aaaa0 r09ab0a9a  
    3636#define EQ(expected, value) PCUT_ASSERT_STR_EQUALS(expected, value)
    3737
    38 
    39 
    4038PCUT_INIT;
    4139
     
    4846        memset(buffer, 0, BUFFER_SIZE);
    4947}
    50 
    5148
    5249PCUT_TEST(rtrim)
Note: See TracChangeset for help on using the changeset viewer.