Skip to content

Commit 03d8966

Browse files
committed
fix: Remove failing test for has length, which is now checked
1 parent 32fb08e commit 03d8966

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

crates/stackable-operator/src/utils/length_enforcement.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,6 @@ mod test {
109109
"a--f7a0".to_owned(),
110110
ensure_max_string_length("a--defgh".to_owned(), 7, 4)
111111
);
112-
113-
// A hash_length longer than the produced hash string may not produce the desired result.
114-
// Just use sensible values!
115-
assert_eq!(
116-
"aaaaaaaaa-d476ce01c3787bcab054a2cf48d6af6dd303a0eb549e21a74125132f79d90c36".to_owned(),
117-
ensure_max_string_length("a".repeat(1011), 1010, 1000)
118-
);
119112
}
120113

121114
/// The maximum length is measured in bytes, so multi-byte characters must not be split up by

0 commit comments

Comments
 (0)