Changeset 6ff651b for tests/check_arc.c


Ignore:
Timestamp:
2019-11-19T12:51:39Z (3 months ago)
Author:
Dima <dgoldin+github@…>
Branches:
master
Children:
b504415
Parents:
bcd8f52
Message:

Fixing tests for libcheck 0.13.0

Since libcheck 0.13 it's mandatory to wrap the unit-test code
in a block. This updates the tests to comply with this.

This fix is backwards compatible with libcheck 0.12.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/check_arc.c

    rbcd8f52 r6ff651b  
    1818};
    1919
    20 static void check_codec(int l)
     20START_TEST(check_codec)
    2121{
    2222        int i;
     
    3838        }
    3939}
     40END_TEST
    4041
    4142struct {
     
    7374};
    7475
    75 static void check_decod(int l)
     76START_TEST(check_decod)
    7677{
    7778        int i;
     
    9394        }
    9495}
     96END_TEST
    9597
    9698Suite *arc_suite(void)
Note: See TracChangeset for help on using the changeset viewer.