From 3c319408d0de2d2de0c19b24e1a41c0a0e4a823b Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 22 Mar 2021 15:07:18 +0100 Subject: libucl: import latest snapshot from 2021-03-14 --- python/tests/test_load.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'python/tests/test_load.py') 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) -- cgit v1.3