Module: wine Branch: master Commit: 096eeb1a1eff3ff9f46d607a63f92102f1604dc7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=096eeb1a1eff3ff9f46d607a63...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Feb 10 11:12:37 2012 +0100
urlmon: Added empty hash URIs comparing tests.
---
dlls/urlmon/tests/uri.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c index 3d140ca..40c8a76 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%22,0, + "http://google.com/test#%22,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 } };