Eric Pouech : ole32/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: 3a843a43b4f104949ad66a7886bb175a3dec2bc9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3a843a43b4f104949ad66a7886bb175a3dec2bc9

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

ole32/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: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/tests/moniker.c   | 2 +-
 dlls/ole32/tests/ole2.c      | 2 +-
 dlls/ole32/tests/storage32.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ole32/tests/moniker.c b/dlls/ole32/tests/moniker.c
index b5eb5f2ffb4..afbea762e89 100644
--- a/dlls/ole32/tests/moniker.c
+++ b/dlls/ole32/tests/moniker.c
@@ -2809,7 +2809,7 @@ static void test_item_moniker(void)
 
     moniker3 = (void *)0xdeadbeef;
     hr = IMoniker_CommonPrefixWith(moniker, moniker2, &moniker3);
-todo_wine
+    todo_wine
 {
     ok(hr == MK_E_NOPREFIX, "Unexpected hr %#x.\n", hr);
     ok(!moniker3, "Unexpected object.\n");
diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 69d8a0c0e93..c463e74c8cb 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -1234,7 +1234,7 @@ static void test_OleLoad(IStorage *pStorage)
             if (fmt == CF_METAFILEPICT)
                 ok(hr == S_OK, "OleDraw error %#x: cfFormat = %u, advf = %#x\n", hr, fmt, header.advf);
             else if (fmt == CF_ENHMETAFILE)
-todo_wine
+                todo_wine
                 ok(hr == S_OK, "OleDraw error %#x: cfFormat = %u, advf = %#x\n", hr, fmt, header.advf);
             else
                 ok(hr == OLE_E_BLANK || hr == OLE_E_NOTRUNNING || hr == E_FAIL, "OleDraw should fail: %#x, cfFormat = %u, advf = %#x\n", hr, fmt, header.advf);
diff --git a/dlls/ole32/tests/storage32.c b/dlls/ole32/tests/storage32.c
index b05baddac98..9f4311cd07c 100644
--- a/dlls/ole32/tests/storage32.c
+++ b/dlls/ole32/tests/storage32.c
@@ -3313,7 +3313,7 @@ static void test_direct_swmr(void)
 
     /* it's possible to create in writer mode */
     hr = StgCreateDocfile(fileW, STGM_CREATE | STGM_READWRITE | STGM_SHARE_DENY_WRITE | STGM_DIRECT_SWMR, 0, &stg);
-todo_wine
+    todo_wine
     ok(hr == S_OK, "got %08x\n", hr);
 if (hr == S_OK) {
     IStorage_Release(stg);




More information about the wine-cvs mailing list