Module: wine Branch: master Commit: 19c2ffe85202859914dfcde7f7b1dbd6bdb1cb41 URL: https://source.winehq.org/git/wine.git/?a=commit;h=19c2ffe85202859914dfcde7f...
Author: Paul Gofman pgofman@codeweavers.com Date: Thu Feb 3 14:28:34 2022 +0300
hnetcfg/tests: Don't test removing the same mapping twice.
Signed-off-by: Paul Gofman pgofman@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/hnetcfg/tests/policy.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/hnetcfg/tests/policy.c b/dlls/hnetcfg/tests/policy.c index f344019d1d3..3b614e6e05a 100644 --- a/dlls/hnetcfg/tests/policy.c +++ b/dlls/hnetcfg/tests/policy.c @@ -278,8 +278,6 @@ static void test_static_port_mapping_collection( IStaticPortMappingCollection *p hr = IEnumVARIANT_Next(enum_ports, 1, &var, &fetched); ok(hr == S_FALSE, "Got unexpected hr %#x.\n", hr);
- hr = IStaticPortMappingCollection_Remove(ports, 12345, (BSTR)L"UDP"); - ok(hr == S_OK, "Got unexpected hr %#x.\n", hr); hr = IStaticPortMappingCollection_Remove(ports, 12345, (BSTR)L"UDP"); ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);