diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 5418e3d9..07195750 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -1,4 +1,4 @@ -name: Python package +name: Test Rich module on: [push] diff --git a/tests/test_text.py b/tests/test_text.py index 4283bed3..67ba352a 100644 --- a/tests/test_text.py +++ b/tests/test_text.py @@ -185,7 +185,7 @@ def test_split(): assert split[0] == line1 assert split[1] == line2 - assert Text("foo").split("\n") == [Text("foo")] + assert list(Text("foo").split("\n")) == [Text("foo")] def test_divide():