diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-04-07 04:05:52 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-04-07 04:05:52 +0300 |
commit | 1809a57381b37b68a3bcc8f50845b61e38e51d6d (patch) | |
tree | 2422e615a193d65ae6f7d10ddadc6aa280e4991d /plugins | |
parent | 0d64cd584601c003d4d03487e540d6274e8b5962 (diff) |
Excel/Libreoffice formulas can also start with @ character.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/API/tests/Unit/CsvRendererTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/API/tests/Unit/CsvRendererTest.php b/plugins/API/tests/Unit/CsvRendererTest.php index 85724cc364..9cc66e7277 100644 --- a/plugins/API/tests/Unit/CsvRendererTest.php +++ b/plugins/API/tests/Unit/CsvRendererTest.php @@ -122,9 +122,11 @@ The\nOutput', $response); // we prefix with quotes array('=test()', '\'=test()'), array('=1+1', '\'=1+1'), + array('@1+1', '\'@1+1'), array('+1+1', '\'+1+1'), array('+1+test()', '\'+1+test()'), array('-1+1', '\'-1+1'), + array('@-1+1', '\'@-1+1'), array('-test()', '\'-test()'), array('-te,st()', '"\'-te,st()"'), array('-te"st()', '"\'-te""st()"'), @@ -132,6 +134,7 @@ The\nOutput', $response); // we do not need to prefix with quote array('1', '1'), array('2', '2'), + array('2@', '2@'), array('20000000', '20000000'), array('10%', '10%'), array('10.5%', '10.5%'), @@ -139,6 +142,7 @@ The\nOutput', $response); array('+10,5%', '"\'+10,5%"'), array('10,5', '"10,5"'), array('1+test()', '1+test()'), + array('1+test@', '1+test@'), array('', ''), array(0, '0'), array(2.2, '2.2'), |