diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-03-22 14:07:18 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-03-22 14:07:18 +0000 |
| commit | 3c319408d0de2d2de0c19b24e1a41c0a0e4a823b (patch) | |
| tree | de0b27939e96ed7a8b3554a149b321ef719cc875 /python/tests/test_load.py | |
| parent | 8392e70f8a07e517fab31f8300cfaf5f02bea0f5 (diff) | |
libucl: import latest snapshot from 2021-03-14vendor/libucl/20210314
Diffstat (limited to 'python/tests/test_load.py')
| -rw-r--r-- | python/tests/test_load.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/python/tests/test_load.py b/python/tests/test_load.py index 786587a67f3d..73d43188f3d5 100644 --- a/python/tests/test_load.py +++ b/python/tests/test_load.py @@ -71,7 +71,22 @@ class LoadTest(unittest.TestCase): self.assertEqual(ucl.load("{/*1*/}"), {}) def test_1_in(self): - valid = { 'key1': 'value' } + valid = { + 'key1': [ + 'value', + 'value2', + 'value;', + 1.0, + -0xdeadbeef, + '0xdeadbeef.1', + '0xreadbeef', + -1e-10, + 1, + True, + False, + True, + ] + } with open("../tests/basic/1.in", "r") as in1: self.assertEqual(ucl.load(in1.read()), valid) |
