]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/unittests/gdb_tilde_expand-selftests.c
gdb, gdbserver, gdbsupport: fix whitespace issues
[thirdparty/binutils-gdb.git] / gdb / unittests / gdb_tilde_expand-selftests.c
index 3de67c3978f661d6dd3276ae280fd5a25d5b1f67..7e7a153192928fa23585aa4885f523b158a80b63 100644 (file)
@@ -45,7 +45,7 @@ do_test ()
      does not exist, gdb_tilde expand must still be able to do the tilde
      expansion.  */
   SELF_CHECK (gdb_tilde_expand ("~/non/existent/directory")
-              == home + "/non/existent/directory");
+             == home + "/non/existent/directory");
 
   /* gdb_tilde_expand only expands tilde and does not try to do any other
      substitution.  */
@@ -63,7 +63,7 @@ do_test ()
       const std::string user (c_user);
       SELF_CHECK (gdb_tilde_expand (("~" + user).c_str ()) == home);
       SELF_CHECK (gdb_tilde_expand (("~" + user + "/a/b").c_str ())
-                  == home + "/a/b");
+                 == home + "/a/b");
     }
 
   /* Check that an error is thrown when trying to expand home of a unknown
@@ -77,8 +77,8 @@ do_test ()
     {
       SELF_CHECK (e.error == GENERIC_ERROR);
       SELF_CHECK
-        (*e.message
-         == "Could not find a match for '~no_one_should_have_that_login'.");
+       (*e.message
+        == "Could not find a match for '~no_one_should_have_that_login'.");
     }
 }