mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
Lint test code (#721)
This commit is contained in:
committed by
GitHub
parent
84bf36194b
commit
43cc8bc84e
@@ -27,7 +27,7 @@ mod tests {
|
||||
use crate::python::string::{is_lower, is_upper};
|
||||
|
||||
#[test]
|
||||
fn test_is_lower() -> () {
|
||||
fn test_is_lower() {
|
||||
assert!(is_lower("abc"));
|
||||
assert!(is_lower("a_b_c"));
|
||||
assert!(is_lower("a2c"));
|
||||
@@ -38,7 +38,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_is_upper() -> () {
|
||||
fn test_is_upper() {
|
||||
assert!(is_upper("ABC"));
|
||||
assert!(is_upper("A_B_C"));
|
||||
assert!(is_upper("A2C"));
|
||||
|
||||
Reference in New Issue
Block a user