diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2020-03-30 10:39:18 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2020-03-30 10:41:55 +0300 |
commit | de87cf7a99b0449fa85bd418d990275e45519f4a (patch) | |
tree | 04184548efe8d823493b328534a0ef89ee2bb3ce /tests/libs/zbxdbcache | |
parent | cd21795f75dbc8eeea06a07f50da16f4bc8001ec (diff) |
........S. [ZBXNEXT-702] added scientific notation tests
Diffstat (limited to 'tests/libs/zbxdbcache')
-rw-r--r-- | tests/libs/zbxdbcache/zbx_dc_expand_user_macros_for_triggers.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/libs/zbxdbcache/zbx_dc_expand_user_macros_for_triggers.yaml b/tests/libs/zbxdbcache/zbx_dc_expand_user_macros_for_triggers.yaml index 3499820566c..20ba4d2a7dc 100644 --- a/tests/libs/zbxdbcache/zbx_dc_expand_user_macros_for_triggers.yaml +++ b/tests/libs/zbxdbcache/zbx_dc_expand_user_macros_for_triggers.yaml @@ -178,4 +178,13 @@ in: expression: '{1} < {$A:"x:\"1\""}' out: expression: '{1} < {$A:"x:\"1\""}' +--- +test case: Expand '{2000} < {$A}' with {$A}=2e+3 +in: + macros: + - name: '{$A}' + value: 2000 + expression: '{2000} < {$A}' +out: + expression: '{2000} < 2000' ... |