diff --git a/tests/drives_tests.cpp b/tests/drives_tests.cpp index 8b6924c21..4601cb050 100644 --- a/tests/drives_tests.cpp +++ b/tests/drives_tests.cpp @@ -155,24 +155,24 @@ TEST(Set_Label, EqualTo8CD) TEST(Set_Label, StripEndingDot) { std::string output = run_Set_Label("a1234567.", false); - EXPECT_EQ("A1234567 ", output); + EXPECT_EQ("A1234567. ", output); } TEST(Set_Label, NoStripEndingDotCD) { std::string output = run_Set_Label("a1234567.", true); - EXPECT_EQ("a1234567 ", output); + EXPECT_EQ("a1234567. ", output); } // Just to make sure this function doesn't clean invalid DOS labels TEST(Set_Label, InvalidCharsEndingDot) { std::string output = run_Set_Label("?*':&@(..", false); - EXPECT_EQ("?*':&@(.", output); + EXPECT_EQ("?*':&@(.. ", output); } TEST(Set_Label, InvalidCharsEndingDotCD) { std::string output = run_Set_Label("?*':&@(..", true); - EXPECT_EQ("?*':&@(..", output); + EXPECT_EQ("?*':&@(.. ", output); } } // namespace