gnucash maint: Fix gncInvoice test failure.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gnucash maint: Fix gncInvoice test failure.

John Ralls-4
Updated via  https://github.com/Gnucash/gnucash/commit/78ab26cc (commit)
        from  https://github.com/Gnucash/gnucash/commit/d87fa3a5 (commit)



commit 78ab26cc2ba78a8e41ad725ae0fd64bc186c92d4
Author: John Ralls <[hidden email]>
Date:   Mon Aug 6 14:49:07 2018 -0700

    Fix gncInvoice test failure.
   
    test_suite_gncInvoice sets up the test suite. It's not part of the test
    runtime, so stack variables in it have gone out of scope by the time the
    tests are actually run. Making invoiceData static makes it permanent so
    it exists at runtime.



Summary of changes:
 libgnucash/engine/test/utest-Invoice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches