Eric Pouech : shell32/tests: Don't outdent todo_wine*.

Alexandre Julliard julliard at winehq.org
Mon Feb 21 16:15:13 CST 2022


Module: wine
Branch: master
Commit: 0fc80c7db107a9a7bbf21fbdb3b79377b03b168e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0fc80c7db107a9a7bbf21fbdb3b79377b03b168e

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Feb 21 08:08:15 2022 +0100

shell32/tests: Don't outdent todo_wine*.

This prevents -Wmisleading-indentation warnings (Mingw GCC11).

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/tests/shelldispatch.c | 2 +-
 dlls/shell32/tests/shlfolder.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c
index f243ba053d0..860024ae6fa 100644
--- a/dlls/shell32/tests/shelldispatch.c
+++ b/dlls/shell32/tests/shelldispatch.c
@@ -1146,7 +1146,7 @@ static void test_ShellWindows(void)
         IDispatch_Release(app);
 
         hr = IWebBrowser2_get_Document(wb, &doc);
-todo_wine
+        todo_wine
         ok(hr == S_OK, "got 0x%08x\n", hr);
 if (hr == S_OK) {
         test_dispatch_typeinfo(doc, viewdual_riids);
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index f593f8b821d..13108f92246 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -4423,7 +4423,7 @@ static void test_contextmenu(IContextMenu *menu, BOOL background)
 
         cmi.lpVerb = "foobar_wine_test";
         hr = IContextMenu_InvokeCommand(menu, &cmi);
-    todo_wine_if(background)
+        todo_wine_if(background)
         ok((hr == E_INVALIDARG) || (hr == E_FAIL /* Win7 */) ||
            (hr == HRESULT_FROM_WIN32(ERROR_NO_ASSOCIATION) /* Vista */),
             "Unexpected hr %#x.\n", hr);




More information about the wine-cvs mailing list