diff --git a/.gitignore b/.gitignore index 6b97bc6..255bf02 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ _build/ target .mooncakes/ .moonagent/ + +target diff --git a/src/plain_diff/moon.pkg b/src/plain_diff/moon.pkg index a64b8c4..cef010a 100644 --- a/src/plain_diff/moon.pkg +++ b/src/plain_diff/moon.pkg @@ -1,7 +1,5 @@ import { "moonbit-community/piediff/edit", - "moonbitlang/core/builtin", - "moonbitlang/core/int", } options( diff --git a/src/plain_diff/plain_diff_wbtest.mbt b/src/plain_diff/plain_diff_wbtest.mbt index d8b994a..7dbf6c8 100644 --- a/src/plain_diff/plain_diff_wbtest.mbt +++ b/src/plain_diff/plain_diff_wbtest.mbt @@ -251,12 +251,12 @@ test "single element arrays" { ///|UUID(c01d74b9-9e44-4870-97e0-a433f7b178b2) test "long sequence LCS" { - let old = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j'].map( - String::make(3, _), - ) - let new = ['a', 'x', 'c', 'y', 'e', 'z', 'g', 'w', 'i', 'v'].map( - String::make(3, _), - ) + let old = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j'].map(x0 => String::make( + 3, x0, + )) + let new = ['a', 'x', 'c', 'y', 'e', 'z', 'g', 'w', 'i', 'v'].map(x0 => String::make( + 3, x0, + )) inspect( print_edits(old.mut_view(), new.mut_view()), content=(