Merge pull request #6913 from markwylde/bugfix-spelling-fix
Fix spelling mistake from registred to registered
This commit is contained in:
commit
c1989fb794
2 changed files with 3 additions and 3 deletions
|
@ -157,8 +157,8 @@ void Protocol::OnIOCompleted(
|
||||||
std::string Protocol::ErrorCodeToString(ProtocolError error) {
|
std::string Protocol::ErrorCodeToString(ProtocolError error) {
|
||||||
switch (error) {
|
switch (error) {
|
||||||
case PROTOCOL_FAIL: return "Failed to manipulate protocol factory";
|
case PROTOCOL_FAIL: return "Failed to manipulate protocol factory";
|
||||||
case PROTOCOL_REGISTERED: return "The scheme has been registred";
|
case PROTOCOL_REGISTERED: return "The scheme has been registered";
|
||||||
case PROTOCOL_NOT_REGISTERED: return "The scheme has not been registred";
|
case PROTOCOL_NOT_REGISTERED: return "The scheme has not been registered";
|
||||||
case PROTOCOL_INTERCEPTED: return "The scheme has been intercepted";
|
case PROTOCOL_INTERCEPTED: return "The scheme has been intercepted";
|
||||||
case PROTOCOL_NOT_INTERCEPTED: return "The scheme has not been intercepted";
|
case PROTOCOL_NOT_INTERCEPTED: return "The scheme has not been intercepted";
|
||||||
default: return "Unexpected error";
|
default: return "Unexpected error";
|
||||||
|
|
|
@ -591,7 +591,7 @@ describe('protocol module', function () {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
it('returns false when scheme is not registred', function (done) {
|
it('returns false when scheme is not registered', function (done) {
|
||||||
protocol.isProtocolHandled('no-exist', function (result) {
|
protocol.isProtocolHandled('no-exist', function (result) {
|
||||||
assert.equal(result, false)
|
assert.equal(result, false)
|
||||||
done()
|
done()
|
||||||
|
|
Loading…
Reference in a new issue