From 235c770d4a92b6087e5cd8d4c104f8b69aefd796 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Mon, 26 May 2014 18:26:55 -0400 Subject: Fix typo in filename --- test/baseline/feat-convert-with-directives.dat | 3 +++ test/baseline/feat-convert-with-directives.test | 28 +++++++++++++++++++++++++ test/baseline/feat-convert-with-diretives.dat | 3 --- test/baseline/feat-convert-with-diretives.test | 28 ------------------------- 4 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 test/baseline/feat-convert-with-directives.dat create mode 100644 test/baseline/feat-convert-with-directives.test delete mode 100644 test/baseline/feat-convert-with-diretives.dat delete mode 100644 test/baseline/feat-convert-with-diretives.test diff --git a/test/baseline/feat-convert-with-directives.dat b/test/baseline/feat-convert-with-directives.dat new file mode 100644 index 00000000..ac13ff81 --- /dev/null +++ b/test/baseline/feat-convert-with-directives.dat @@ -0,0 +1,3 @@ +date,payee,amount +2012/01/01,KFC,$10 +2012/01/02,"REWE SAGT DANKE 123454321",10€ diff --git a/test/baseline/feat-convert-with-directives.test b/test/baseline/feat-convert-with-directives.test new file mode 100644 index 00000000..53adb7a6 --- /dev/null +++ b/test/baseline/feat-convert-with-directives.test @@ -0,0 +1,28 @@ +account Expenses:Food + payee KFC + payee REWE + +payee REWE + alias REWE SAGT DANKE + +# When reading csv file without directives: +test -f /dev/null convert test/baseline/feat-convert-with-directives.dat +2012/01/01 * KFC + Expenses:Unknown $10 + Equity:Unknown + +2012/01/02 * REWE SAGT DANKE 123454321 + Expenses:Unknown 10€ + Equity:Unknown +end test + +# When reading csv file with directives: +test --account "Assets:Cash" convert test/baseline/feat-convert-with-directives.dat +2012/01/01 * KFC + Expenses:Food $10 + Assets:Cash + +2012/01/02 * REWE + Expenses:Food 10€ + Assets:Cash +end test diff --git a/test/baseline/feat-convert-with-diretives.dat b/test/baseline/feat-convert-with-diretives.dat deleted file mode 100644 index ac13ff81..00000000 --- a/test/baseline/feat-convert-with-diretives.dat +++ /dev/null @@ -1,3 +0,0 @@ -date,payee,amount -2012/01/01,KFC,$10 -2012/01/02,"REWE SAGT DANKE 123454321",10€ diff --git a/test/baseline/feat-convert-with-diretives.test b/test/baseline/feat-convert-with-diretives.test deleted file mode 100644 index 2f6e0102..00000000 --- a/test/baseline/feat-convert-with-diretives.test +++ /dev/null @@ -1,28 +0,0 @@ -account Expenses:Food - payee KFC - payee REWE - -payee REWE - alias REWE SAGT DANKE - -# When reading csv file without directives: -test -f /dev/null convert test/baseline/feat-convert-with-diretives.dat -2012/01/01 * KFC - Expenses:Unknown $10 - Equity:Unknown - -2012/01/02 * REWE SAGT DANKE 123454321 - Expenses:Unknown 10€ - Equity:Unknown -end test - -# When reading csv file with directives: -test --account "Assets:Cash" convert test/baseline/feat-convert-with-diretives.dat -2012/01/01 * KFC - Expenses:Food $10 - Assets:Cash - -2012/01/02 * REWE - Expenses:Food 10€ - Assets:Cash -end test -- cgit v1.2.3