Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(980)

Unified Diff: native_client_sdk/src/tools/tests/getos_test.py

Issue 13106002: [NaCl SDK] A bunch of spelling fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix presubmit Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/src/tools/tests/create_nmf_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/tools/tests/getos_test.py
diff --git a/native_client_sdk/src/tools/tests/getos_test.py b/native_client_sdk/src/tools/tests/getos_test.py
index 9c46071252953f8b14deebec9c211c8078c0e4e8..3a6ad60c1e98f8a3ad8fc196bf49507822e349b7 100755
--- a/native_client_sdk/src/tools/tests/getos_test.py
+++ b/native_client_sdk/src/tools/tests/getos_test.py
@@ -48,7 +48,7 @@ class TestGetos(TestCaseExtended):
self.patch2.stop()
def testGetSDKPath(self):
- """honors enironment variable."""
+ """honors environment variable."""
with mock.patch.dict('os.environ', {'NACL_SDK_ROOT': 'dummy'}):
self.assertEqual(getos.GetSDKPath(), 'dummy')
@@ -63,7 +63,7 @@ class TestGetos(TestCaseExtended):
self.assertIn(platform, ('mac', 'linux', 'win'))
def testGetSystemArch(self):
- """returns a valid architecuture."""
+ """returns a valid architecture."""
arch = getos.GetSystemArch(getos.GetPlatform())
self.assertIn(arch, ('x86_64', 'x86_32', 'arm'))
@@ -79,7 +79,7 @@ class TestGetos(TestCaseExtended):
self.assertRaises(getos.Error, getos.GetChromePath)
def testGetChromePathCheckExists(self):
- """checks that existence of explictly CHROME_PATH is checked."""
+ """checks that existence of explicitly CHROME_PATH is checked."""
mock_location = '/bin/ls'
if getos.GetPlatform() == 'win':
mock_location = 'c:\\nowhere'
@@ -117,7 +117,7 @@ class TestGetos(TestCaseExtended):
mock_exists.assert_called_with(loader)
def testGetNaClArch(self):
- """returns a valid architecuture."""
+ """returns a valid architecture."""
platform = getos.GetPlatform()
# Since the unix implementation of GetNaClArch will run objdump on the
# chrome binary, and we want to be able to run this test without chrome
« no previous file with comments | « native_client_sdk/src/tools/tests/create_nmf_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698