void () { check(new ColoredText("Plain\u001B[32mGreen\u001B[39mNormal\u001B[1A\u001B[2K\u001B[31mRed\u001B[39m", ProcessOutputTypes.STDOUT) .addExpected("Plain", STDOUT_KEY) .addExpected("Green", "38;5;2m") .addExpected("Normal", STDOUT_KEY) .addExpected("Red", "38;5;1m")); }