mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Testing: Fix an error in the GNC_TEST_ADD macro that
ate user data for the fixture. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20927 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5f0fe0115a
commit
4dc91e4441
@ -61,7 +61,7 @@ Otherwise, only failures are printed out.
|
||||
#define GNC_TEST_ADD( suite, path, fixture, data, setup, test, teardown )\
|
||||
{\
|
||||
gchar *testpath = g_strdup_printf( "%s/%s", suite, path );\
|
||||
g_test_add( testpath, fixture, NULL, setup, test, teardown );\
|
||||
g_test_add( testpath, fixture, data, setup, test, teardown );\
|
||||
g_free( testpath );\
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user