From f49f28ce1567460ec40fc2625ca332fc24e7d150 Mon Sep 17 00:00:00 2001 From: Kasim Tan Date: Sat, 4 Jun 2016 16:30:19 -0700 Subject: [PATCH] Fix typo (shoud -> should) Summary: Closes https://github.com/facebook/react-native/pull/7928 Differential Revision: D3390537 fbshipit-source-id: 97ce2331d0942ffe21078b3aec27daed20cd8af5 --- .../Navigator/Navigation/NavigationRouteStack.js | 2 +- local-cli/rnpm/core/test/getCommands.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/CustomComponents/Navigator/Navigation/NavigationRouteStack.js b/Libraries/CustomComponents/Navigator/Navigation/NavigationRouteStack.js index 48628517741..f73ab10f01e 100644 --- a/Libraries/CustomComponents/Navigator/Navigation/NavigationRouteStack.js +++ b/Libraries/CustomComponents/Navigator/Navigation/NavigationRouteStack.js @@ -149,7 +149,7 @@ class RouteStack { * excluding the last index in this stack. */ pop(): RouteStack { - invariant(this._routeNodes.size > 1, 'shoud not pop routeNodes stack to empty'); + invariant(this._routeNodes.size > 1, 'should not pop routeNodes stack to empty'); // When popping, removes the rest of the routes past the current index. var routeNodes = this._routeNodes.slice(0, this._index); diff --git a/local-cli/rnpm/core/test/getCommands.spec.js b/local-cli/rnpm/core/test/getCommands.spec.js index 58c25446fb9..4389b064da5 100644 --- a/local-cli/rnpm/core/test/getCommands.spec.js +++ b/local-cli/rnpm/core/test/getCommands.spec.js @@ -111,7 +111,7 @@ describe('getCommands', () => { afterEach(() => revert()); - it('shoud load when installed locally', () => { + it('should load when installed locally', () => { revert = getCommands.__set__({ __dirname: path.join(LOCAL_NODE_MODULES, 'rnpm/src'), });