From 1308327fae941c2d535c6625f7415b9e8b755e15 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Tue, 2 Aug 2022 01:04:45 +0200 Subject: [PATCH] tests: OCD fixes lol sorry --- src/test/javacompat.cpp | 6 +----- src/test/nbt_writestring_failure_mode.cpp | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/test/javacompat.cpp b/src/test/javacompat.cpp index 1f34aad..e8c08e9 100644 --- a/src/test/javacompat.cpp +++ b/src/test/javacompat.cpp @@ -28,7 +28,7 @@ int main(){ // java-style_unicode: 119 bytes, 85 characters ?? std::cout << "################################################################################" << std::endl; - std::cout << "Import String Tests" << std::endl; + std::cout << "Javacompat tests" << std::endl; std::cout << "################################################################################" << std::endl; char* nextChar = new char; @@ -78,10 +78,6 @@ int main(){ ASSERT(normalString == importedString); std::cout << "Passed Import Java string test." << std::endl; - std::cout << "################################################################################" << std::endl; - std::cout << "Export String Tests" << std::endl; - std::cout << "################################################################################" << std::endl; - //using normalString from when we read the file earlier //there's no need to read the same file twice diff --git a/src/test/nbt_writestring_failure_mode.cpp b/src/test/nbt_writestring_failure_mode.cpp index ff846ca..68c0307 100644 --- a/src/test/nbt_writestring_failure_mode.cpp +++ b/src/test/nbt_writestring_failure_mode.cpp @@ -6,9 +6,9 @@ #include "../lib/javacompat.h++" int main() { - std::cout << "=================================" << std::endl; + std::cout << "================================================================================" << std::endl; std::cout << "NBT write string helper failure mode test" << std::endl; - std::cout << "=================================" << std::endl; + std::cout << "================================================================================" << std::endl; std::cout << "This is supposed to abort." << std::endl; std::vector* exportedString = new std::vector(); std::string overrunString = std::string(0xFFFFF, '.');