From 096eeb1a1eff3ff9f46d607a63f92102f1604dc7 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 10 Feb 2012 11:12:37 +0100 Subject: [PATCH] urlmon: Added empty hash URIs comparing tests. --- dlls/urlmon/tests/uri.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c index 3d140cac6a..40c8a7628a 100644 --- a/dlls/urlmon/tests/uri.c +++ b/dlls/urlmon/tests/uri.c @@ -4691,6 +4691,22 @@ static const uri_equality equality_tests[] = { "file:///c:/dir/file.txt#a", 0, "file:///c:\\dir\\file.txt#b", Uri_CREATE_FILE_USE_DOS_PATH, FALSE + }, + /* Tests of an empty hash/fragment part */ + { + "http://google.com/test",0, + "http://google.com/test#",0, + FALSE + }, + { + "ftp://ftp.winehq.org/",0, + "ftp://ftp.winehq.org/#",0, + FALSE + }, + { + "file:///c:/dir/file.txt#", 0, + "file:///c:\\dir\\file.txt", Uri_CREATE_FILE_USE_DOS_PATH, + FALSE } }; -- 2.32.0.93.g670b81a890