From 265dead9b3eef47265a5e9fd8e398d2941739db2 Mon Sep 17 00:00:00 2001
From: tatyana <tatyana@etersoft.ru>
Date: Wed, 3 Apr 2013 17:33:50 +0400
Subject: [PATCH 1/2] winspool.drv/tests: Add DocumentProperties test with
 empty pDeviceName

---
 dlls/winspool.drv/tests/info.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index 1c98d4d..1de4c6a 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -2678,6 +2678,10 @@ static void test_DocumentProperties(void)
     ret = DocumentProperties(0, hprn, NULL, dm, dm, DM_OUT_BUFFER);
     ok(ret == IDOK, "DocumentProperties ret value %d != expected IDOK\n", ret);
 
+    ret = DocumentProperties(0, hprn, "", dm, dm, DM_OUT_BUFFER);
+    todo_wine
+    ok(ret == IDOK, "DocumentProperties ret value %d != expected IDOK\n", ret);
+
     test_DEVMODE(dm, dm_size, default_printer);
 
     HeapFree(GetProcessHeap(), 0, dm);
-- 
1.8.1.5
