From b698b8d6d29c2e5d184e9526cf92828d0a0ce768 Mon Sep 17 00:00:00 2001 From: Hedy Li Date: Wed, 5 Aug 2020 09:32:26 +0000 Subject: [PATCH] better ValueError msg --- rich/rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rich/rule.py b/rich/rule.py index 8a2ba93b..3a844f51 100644 --- a/rich/rule.py +++ b/rich/rule.py @@ -27,7 +27,7 @@ class Rule(JupyterMixin): ) -> None: if cell_len(characters) < 1: raise ValueError( - "'character' argument must at least have a cell width of 1" + "'characters' argument must have at least a cell width of 1" ) self.title = title self.characters = characters