Export dedent helper method.
legacy tests: migrate test6