Can that also compare kotlin output with javasourceobjects?
I’m using it now, though I’m still getting errors before the point it actually makes the comparison
j
jw
09/10/2018, 3:51 PM
Yeah it only works on Java. You'd have to do file matching for Kotlin which means you need an exact string you expect
t
tschuchort
09/11/2018, 6:38 PM
If you ever find a good way let me know. Right now I'm driving blind with no tests shudder. String matching would be extremely brittle so I think I'm just gonna test that the output at least compiles
j
jw
09/11/2018, 7:14 PM
you could use UAST to parse the two trees and do a comparison
t
tschuchort
09/11/2018, 7:21 PM
I will take a look at that but at first glance it doesn't seem worth the effort with so little documentation