Layman 1.2.2 abbreviates "overlays.gentoo.org" to "o.g.o" when listing overlays, but its doctests do not expect this. The attached patch corrects this.
Created attachment 176777 [details, diff]
Thanks for the report and the patch! layman-1.2.2 was actually reacting to the screen size. So the test result depended on the terminal size you used. I fixed that in layman-1.2.3.