From 59dbc5a71e2f73010690f8c0de251b74e1569b4c Mon Sep 17 00:00:00 2001 From: dehnert Date: Thu, 11 Sep 2014 16:39:06 +0200 Subject: [PATCH] Fixed tests to comply with new requirement for hint in tra-file (needs to be at the very beginning, no prior white spaces). Former-commit-id: 60bfb720b8d4ad7422a439256bcb6f5ceea8b9ba --- test/functional/parser/MappedFileTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/parser/MappedFileTest.cpp b/test/functional/parser/MappedFileTest.cpp index 8b4d7bfba..26ea73672 100644 --- a/test/functional/parser/MappedFileTest.cpp +++ b/test/functional/parser/MappedFileTest.cpp @@ -23,8 +23,8 @@ TEST(MappedFileTest, BasicFunctionality) { // Open a file and test if the content is loaded as expected. storm::parser::MappedFile file(STORM_CPP_TESTS_BASE_PATH "/functional/parser/testStringFile.txt"); std::string testString = "This is a test string."; - char * dataPtr = file.getData(); - for(char const * testStringPtr = testString.c_str(); testStringPtr - testString.c_str() < 22; testStringPtr++) { + char const* dataPtr = file.getData(); + for(char const* testStringPtr = testString.c_str(); testStringPtr - testString.c_str() < 22; testStringPtr++) { ASSERT_EQ(*testStringPtr, *dataPtr); dataPtr++; }