I think there is a problem with the tests for flatten_array.go. I am getting errors like this:
flatten_array_test.go:19: Flatten() = &, want:
Line 19 of the test does use a pointer (&actual), unlike the other tests (which use actual). I can’t see any reason why, and my program is not returning a pointer.
You might want to wrap the error in a codeblock. It currently shows unicode boxes, which I’m pretty sure aren’t part of the exercise! Sharing your solution code (in a codeblock) would also help a lot!
That fixed it! I still don’t understand why the test needs to use a pointer, or why a blank interface is needed given that the tests all use int slices. Maybe one day I will