stretchr / testify

A toolkit with common assertions and mocks that plays nicely with the standard library
MIT License
22.52k stars 1.56k forks source link

use hexops/gotextdiff instead #1529

Closed arthurnn closed 4 months ago

arthurnn commented 5 months ago

Summary

This came up before here. But I am taking a different approach. Instead of using https://github.com/pmezard/go-difflib I am using https://github.com/hexops/gotextdiff. gotextdiff is a copy of a internal gopls package

Motivation

go-difflib is not maintained anymore. And the interface is more complex than gotextdiff

Related issues

arjunmahishi commented 4 months ago

Yikes! Looks like https://github.com/hexops/gotextdiff got archived 4 days ago 👀