Change instances of Value::string("foo", Span::test_data()) to Value::test_string("foo") (#7592)

This commit is contained in:
Leon
2022-12-24 19:25:38 +10:00
committed by GitHub
parent 3d682fe957
commit 11bdab7e61
50 changed files with 191 additions and 235 deletions

View File

@ -294,7 +294,7 @@ mod tests {
#[test]
fn substrings_indexes() {
let word = Value::string("andres", Span::test_data());
let word = Value::test_string("andres");
let cases = vec![
expectation("a", (0, 1)),