mirror of https://github.com/grpc/grpc-node.git
Fix target name in "other" resolver test
This commit is contained in:
parent
13cc016e4e
commit
1cd0ef12f2
|
@ -400,7 +400,7 @@ describe('Name Resolver', () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
it('Should return the correct authority if a different resolver has been registered', () => {
|
it('Should return the correct authority if a different resolver has been registered', () => {
|
||||||
const target = parseUri('other://name')!;
|
const target = parseUri('other:name')!;
|
||||||
resolverManager.registerResolver('other:', OtherResolver);
|
resolverManager.registerResolver('other:', OtherResolver);
|
||||||
|
|
||||||
const authority = resolverManager.getDefaultAuthority(target);
|
const authority = resolverManager.getDefaultAuthority(target);
|
||||||
|
|
Loading…
Reference in New Issue