@Test
    public void writeInlineDoesNotAllowIndentationToBeEscaped() {
        String result = CodeWriter.createDefault()
                .setIndentText("\t")
                .insertTrailingNewline(false)
                .indent()
                .indent()
                .writeInline("{foo:")
                .writeInline(" [\n")
                .indent()
                .writeInline("hi,\nbye")
                .dedent()
                .writeInline("\n]\n")
                .dedent()
                .writeInline("}")
                .toString();

        assertThat(result, equalTo("\t\t{foo: [\n\t\t\thi,\n\t\t\tbye\n\t\t]\n\t}"));
    }
\n"
                                + " * Foo \"foo!\"\n"
                                + " *\n"
                                + " * \"baz\"!\n"
                                + " * Yap!\n"
                                + " *     This is indented, in flow of parent.\n"
                                + " *     Yap!\n"
                                + " *     Yap?\n"
                                + " *     # Has a prefix\n"
                                + " *     # Yes\n"
                                + "
smithy-utils/src/test/java/software/amazon/smithy/utils/CodeWriterTest.java