We have hardcoded Unix-style newlines in PluginInfo.toString. We should use `System.lineSeparator()` instead.
distribution/tools/plugin-cli/src/test/java/org/elasticsearch/plugins/cli/ListPluginsCommandTests.java
buildFakePlugin(env, "fake desc 2", "fake_plugin2", "org.fake2");
        execute();
        String message = "plugin [fake_plugin1] was built for Elasticsearch version 1.0.0 but version " + Version.CURRENT + " is required";
        assertEquals("""
            fake_plugin1
            fake_plugin2
            """, terminal.getOutput());
        assertEquals("WARNING: " + message + "\n", terminal.getErrorOutput());
        terminal.reset();
        execute("-s");
        assertEquals("""
            fake_plugin1
            fake_plugin2
            """, terminal.getOutput());
    }
    @Override
    protected Command newCommand() {
        return new ListPluginsCommand() {
            @Override
            protected Environment createEnv(OptionSet options, ProcessInfo processInfo) {
                return env;
            }
            @Override
            protected boolean addShutdownHook() {
                return false;
            }
        };
    }
}