Skip to content

Commit 54cceba

Browse files
pwwangsamuelcolvin
andauthored
⬆️ Pump toml-rs to 0.5.9 to fix #39 (#40)
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
1 parent 43c7938 commit 54cceba

File tree

3 files changed

+81
-66
lines changed

3 files changed

+81
-66
lines changed

Cargo.lock

+79-65
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["Samuel Colvin <s@muelcolvin.com>"]
55
edition = "2018"
66

77
[dependencies]
8-
toml = {version = "0.5.8", features = ["preserve_order"]}
8+
toml = {version = "0.5.9", features = ["preserve_order"]}
99
serde = "1.0.126"
1010
pyo3 = {version = "0.16.2", features = ["extension-module"]}
1111

tests/test_load.py

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
@pytest.mark.parametrize(
99
'input_toml,output_obj',
1010
[
11+
('"" = "bar"', {'': 'bar'}),
1112
('foo = "bar"', {'foo': 'bar'}),
1213
('ports = [ 8001, 8001, 8002 ]', {'ports': [8001, 8001, 8002]}),
1314
('x = 1979-05-27T07:32:00', {'x': datetime(1979, 5, 27, 7, 32)}),

0 commit comments

Comments
 (0)