Skip to content

Commit

Permalink
fix for cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
luk036 committed Feb 2, 2024
1 parent 8628c18 commit 5fc991b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lcsre.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ mod tests {
#[test]
fn test_lcsre() {
let cstr = "+-00+-00+-00+-0";
let res = longest_repeated_substring(&cstr);
let res = longest_repeated_substring(cstr);
assert_eq!(res, "+-00+-0");
let cstr = "abcdefgh";
let res = longest_repeated_substring(&cstr);
let res = longest_repeated_substring(cstr);
assert_eq!(res, "");
}
}

0 comments on commit 5fc991b

Please sign in to comment.