Skip to content

Commit

Permalink
Update test_clip_tokens.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mrT23 authored Dec 25, 2024
1 parent 12d603f commit b073fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittest/test_clip_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b073fb1

Please sign in to comment.