Skip to content

Commit 3995f7f

Browse files
committed
remove filename constraint
1 parent eecaa4e commit 3995f7f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/scenarios/fixtures.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,9 @@ pub async fn before_scenario(
8080
) {
8181
collect_function_calls(world);
8282

83-
let escaped_filename = NON_ALNUM_RE
83+
let filename = NON_ALNUM_RE
8484
.replace_all(scenario.name.as_str(), "-")
8585
.to_string();
86-
let filename = match escaped_filename.len() > 100 {
87-
true => escaped_filename[..100].to_string(),
88-
false => escaped_filename,
89-
};
9086
let mut prefix = "Test".to_string();
9187
let mut cassette_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
9288
cassette_dir.push(format!(

0 commit comments

Comments
 (0)