summaryrefslogtreecommitdiffstats
path: root/src/edits.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-05-23 11:07:27 -0400
committerDan Davison <dandavison7@gmail.com>2020-05-23 11:07:27 -0400
commit0be7aa9d3976bc2f6c72455d0c1e4f7d5fcaca95 (patch)
treeaaa9d5f30c2f48a80a7704f70ab51ee6631a5cc7 /src/edits.rs
parent586b4ba6bdbb0b81d822811ce063567ec882ad53 (diff)
Delete test that wasn't asserting anything
Diffstat (limited to 'src/edits.rs')
-rw-r--r--src/edits.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/edits.rs b/src/edits.rs
index 2e16d2be..f19d25b0 100644
--- a/src/edits.rs
+++ b/src/edits.rs
@@ -437,22 +437,6 @@ mod tests {
}
#[test]
- fn test_infer_edits_6_1() {
- let (after, before) = (
- " i += c0.len();",
- " .fold(0, |offset, ((_, c0), (_, _))| offset + c0.len())",
- );
- println!(" before: {}", before);
- println!(" after : {}", after);
- println!("tokenized before: {:?}", tokenize(before));
- println!("tokenized after : {:?}", tokenize(after));
- println!(
- "distance: {:?}",
- align::Alignment::new(tokenize(before), tokenize(after)).distance_parts()
- );
- }
-
- #[test]
fn test_infer_edits_7() {
assert_edits(
vec!["fn coalesce_edits<'a, EditOperation>("],