diff --git a/tests/unittest/test_clip_tokens.py b/tests/unittest/test_clip_tokens.py index 79de62940..0a173c705 100644 --- a/tests/unittest/test_clip_tokens.py +++ b/tests/unittest/test_clip_tokens.py @@ -11,7 +11,7 @@ def test_clip(self): text = "line1\nline2\nline3\nline4\nline5\nline6" max_tokens = 25 result = clip_tokens(text, max_tokens) - assert result == text + assert result != text max_tokens = 10 result = clip_tokens(text, max_tokens)