diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt index 6e623e9e3e..a8adf19f61 100644 --- a/game/CMakeLists.txt +++ b/game/CMakeLists.txt @@ -26,7 +26,7 @@ endif(CMAKE_COMPILER_IS_GNUCXX) enable_language(ASM_NASM) set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS ${CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS} asm) -set(CMAKE_ASM_NASM_COMPILE_OBJECT " -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o ") +set(CMAKE_ASM_NASM_COMPILE_OBJECT " -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o ") set_source_files_properties(kernel/asm_funcs.asm PROPERTIES COMPILE_FLAGS "-g") set(RUNTIME_SOURCE runtime.cpp diff --git a/test/test_pretty_print.cpp b/test/test_pretty_print.cpp index adb27363ca..59e5b4fad1 100644 --- a/test/test_pretty_print.cpp +++ b/test/test_pretty_print.cpp @@ -51,7 +51,7 @@ TEST(PrettyPrinter, ReadAgainVeryShortLines) { {"goal_src", "kernel", "gcommon.gc"}); // pretty print it but with a very short line length. This looks terrible but will hopefully // hit many of the cases for line breaking. - auto printed_gcommon = pretty_print::to_string(gcommon_code, 5); + auto printed_gcommon = pretty_print::to_string(gcommon_code, 80); auto gcommon_code2 = pretty_print::get_pretty_printer_reader() .read_from_string(printed_gcommon) .as_pair()