1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 19:07:35 +00:00

PreprocessorTest: Convert dbgprintf() => dbgln()

This commit is contained in:
Andreas Kling 2021-02-17 15:50:34 +01:00
parent 403b34d38e
commit 1a4136c4ac

View file

@ -24,7 +24,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "AK/Forward.h"
#include <LibCore/File.h> #include <LibCore/File.h>
#include <LibCpp/Preprocessor.h> #include <LibCpp/Preprocessor.h>
@ -37,5 +36,5 @@ int main(int, char**)
} }
auto content = file->read_all(); auto content = file->read_all();
Cpp::Preprocessor cpp(StringView { content }); Cpp::Preprocessor cpp(StringView { content });
dbgprintf("%s\n", cpp.process().characters()); dbgln("{}", cpp.process());
} }