algomaster99 / diffmin-examples

0 stars 0 forks source link

Movement of argument causes a line diff #10

Open algomaster99 opened 2 years ago

algomaster99 commented 2 years ago

https://github.com/http4s/http4s/pull/3099/files?diff=unified&w=1#diff-60f2eb7f5d1c0b844223928a527eae78b11bced46bba38394cedde6973a8aabc

- runNonChunkedTests(
-      tail => new CachingChunkWriter[IO](tail, IO.pure(Headers.empty), 1024 * 1024))
+    runNonChunkedTests(tail =>
+     new CachingChunkWriter[IO](tail, IO.pure(Headers.empty), 1024 * 1024))

The movement of tail can be an example of spurious formatting.

algomaster99 commented 2 years ago

The change of brackets can also be defined as a spurious formatting change. https://github.com/http4s/http4s/pull/3099/files?diff=unified&w=1#diff-96fb0c0c3014293834e8ffc4250cee24b92fa59cd1a81216e853531e382bd289L88-R90