修改测试依赖

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@111 1a56cb94-b969-4eaa-88fa-be21384802f2
This commit is contained in:
william.liangf 2011-10-28 07:52:52 +00:00
parent dd99591525
commit ccbe3c070c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class ZookeeperRegistryTest {
//registry.register(service, serviceUrl);
}
@Test(expected = IllegalArgumentException.class)
@Test(expected = IllegalStateException.class)
public void testUrlerror() {
URL errorUrl = URL.valueOf("zookeeper://zookeeper/");
new ZookeeperRegistry(errorUrl);