Skip to content

Commit

Permalink
Correct description about hetero array tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Sep 21, 2023
1 parent 3df04db commit ecc31ee
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions reports/with_toml-test_latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Literally `<package>.loads('v1 = "null" v2 = "None"')`

How the package dumps a python dictionary with a heterogenous array.

Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]})`
Literally `<package>.dumps({"v": [1, 1.2, True, "string"]})`


| |Dumped value or error|
Expand All @@ -97,7 +97,7 @@ Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b":

How the package loads a toml string with a heterogenous array.

Literally `<package>.loads('v = [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]')`
Literally `<package>.loads('v = [1, 1.2, True, "string"]')`


| |Loaded as|
Expand Down
4 changes: 2 additions & 2 deletions reports/with_toml-test_v1.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Literally `<package>.loads('v1 = "null" v2 = "None"')`

How the package dumps a python dictionary with a heterogenous array.

Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]})`
Literally `<package>.dumps({"v": [1, 1.2, True, "string"]})`


| |Dumped value or error|
Expand All @@ -97,7 +97,7 @@ Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b":

How the package loads a toml string with a heterogenous array.

Literally `<package>.loads('v = [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]')`
Literally `<package>.loads('v = [1, 1.2, True, "string"]')`


| |Loaded as|
Expand Down
4 changes: 2 additions & 2 deletions reports/with_toml-test_v1.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Literally `<package>.loads('v1 = "null" v2 = "None"')`

How the package dumps a python dictionary with a heterogenous array.

Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]})`
Literally `<package>.dumps({"v": [1, 1.2, True, "string"]})`


| |Dumped value or error|
Expand All @@ -97,7 +97,7 @@ Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b":

How the package loads a toml string with a heterogenous array.

Literally `<package>.loads('v = [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]')`
Literally `<package>.loads('v = [1, 1.2, True, "string"]')`


| |Loaded as|
Expand Down
4 changes: 2 additions & 2 deletions reports/with_toml-test_v1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Literally `<package>.loads('v1 = "null" v2 = "None"')`

How the package dumps a python dictionary with a heterogenous array.

Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]})`
Literally `<package>.dumps({"v": [1, 1.2, True, "string"]})`


| |Dumped value or error|
Expand All @@ -97,7 +97,7 @@ Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b":

How the package loads a toml string with a heterogenous array.

Literally `<package>.loads('v = [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]')`
Literally `<package>.loads('v = [1, 1.2, True, "string"]')`


| |Loaded as|
Expand Down
4 changes: 2 additions & 2 deletions toml_bench/sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class BenchSetLoadNoneLike(BenchSetTable):
class BenchSetDumpsHeteroArray(BenchSetTable):
"""How the package dumps a python dictionary with a heterogenous array.
Literally `<package>.dumps({"v": [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]})`
Literally `<package>.dumps({"v": [1, 1.2, True, "string"]})`
"""

title = "Dumping a heterogenous array"
Expand All @@ -120,7 +120,7 @@ class BenchSetDumpsHeteroArray(BenchSetTable):
class BenchSetLoadsHeteroArray(BenchSetTable):
"""How the package loads a toml string with a heterogenous array.
Literally `<package>.loads('v = [1, 1.2, True, "string", [1, 2], {"a": 1, "b": 2}]')`
Literally `<package>.loads('v = [1, 1.2, True, "string"]')`
"""

title = "Loading a heterogenous array"
Expand Down

0 comments on commit ecc31ee

Please sign in to comment.