---
source: crates/ruff_linter/src/rules/ruff/mod.rs
---
RUF040 Non-string literal used as assert message
 --> RUF040.py:3:21
  |
1 | fruits = ["apples", "plums", "pear"]
2 | fruits.filter(lambda fruit: fruit.startwith("p"))
3 | assert len(fruits), 2
  |                     ^
4 |
5 | assert True, "always true"
  |
