]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/xbt_str_test.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
small improvements to the ns3 doc
[simgrid.git] / src / xbt / xbt_str_test.cpp
index e7d70b0f447db38a565eb1a3f53327abe876ab26..81ed1aa0daf2032e4feb800c9cad3b036a88cdf2 100644 (file)
@@ -43,7 +43,6 @@ template <typename F, typename T> void test_parse_ok(F function, const std::stri
 
 TEST_CASE("xbt::str: String Handling", "xbt_str")
 {
-
   SECTION("Test the function xbt_str_split_quoted")
   {
     test_split_quoted("Empty", "", {});
@@ -51,8 +50,8 @@ TEST_CASE("xbt::str: String Handling", "xbt_str")
     test_split_quoted("Useless backslashes", "\\t\\o\\t\\o \\t\\u\\t\\u", {"toto", "tutu"});
     test_split_quoted("Protected space", "toto\\ tutu", {"toto tutu"});
     test_split_quoted("Several spaces", "toto   tutu", {"toto", "tutu"});
-    test_split_quoted("LTriming", "  toto tatu", {"toto", "tatu"});
-    test_split_quoted("Triming", "  toto   tutu  ", {"toto", "tutu"});
+    test_split_quoted("LTrimming", "  toto tatu", {"toto", "tatu"});
+    test_split_quoted("Trimming", "  toto   tutu  ", {"toto", "tutu"});
     test_split_quoted("Single quotes", "'toto tutu' tata", {"toto tutu", "tata"});
     test_split_quoted("Double quotes", "\"toto tutu\" tata", {"toto tutu", "tata"});
     test_split_quoted("Mixed quotes", "\"toto' 'tutu\" tata", {"toto' 'tutu", "tata"});