!1006722 p { S s = [[import bla; class bla { import blubb; }]]; L tok = javaTok(s); tok_moveImportsUp(tok); print(s = join(tok)); tok_moveImportsUp(tok); assertEquals(s, join(tok)); }