[rtems-central commit] content: Add test case
Sebastian Huber
sebh at rtems.org
Thu Oct 8 13:25:40 UTC 2020
Module: rtems-central
Branch: master
Commit: 80e98d1d5f66fdc64487a479614b3f3f6bb9c12f
Changeset: http://git.rtems.org/rtems-central/commit/?id=80e98d1d5f66fdc64487a479614b3f3f6bb9c12f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 7 11:30:50 2020 +0200
content: Add test case
---
rtemsspec/tests/test_content.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rtemsspec/tests/test_content.py b/rtemsspec/tests/test_content.py
index 123128d..7505206 100644
--- a/rtemsspec/tests/test_content.py
+++ b/rtemsspec/tests/test_content.py
@@ -80,6 +80,8 @@ def test_add():
content = Content("BSD-2-Clause", True)
content.add("")
assert str(content) == ""
+ content.add([""])
+ assert str(content) == ""
content.add("a")
assert str(content) == """a
"""
More information about the vc
mailing list