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

Unified Diff: native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc

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
Index: native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc
diff --git a/native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc b/native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc
index 01b0573c89d6000babf50e981fe02cb89f369227..268c6f51a6efddfaaae1a4e36e1cc28e090e1493 100644
--- a/native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc
+++ b/native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc
@@ -105,7 +105,7 @@ TEST_F(KernelObjectTest, Referencing) {
EXPECT_EQ(4, mnt->RefCount());
EXPECT_EQ(2, handle2->RefCount());
- // Handles are expectd to come out in order
+ // Handles are expected to come out in order
EXPECT_EQ(0, fd1);
EXPECT_EQ(1, fd2);
EXPECT_EQ(2, fd3);
@@ -114,7 +114,7 @@ TEST_F(KernelObjectTest, Referencing) {
EXPECT_EQ(handle, proxy->AcquireHandle(fd1));
EXPECT_EQ(handle, proxy->AcquireHandle(fd2));
- // A non existant fd should fail
+ // A non existent fd should fail
EXPECT_EQ(NULL, proxy->AcquireHandle(-1));
EXPECT_EQ(EBADF, errno);
EXPECT_EQ(NULL, proxy->AcquireHandle(100));
@@ -162,7 +162,7 @@ TEST_F(KernelObjectTest, FreeAndReassignFD) {
EXPECT_EQ(1, handle_count);
EXPECT_EQ(1, handle->RefCount());
- // Assign to a non-existant FD
+ // Assign to a non-existent FD
proxy->FreeAndReassignFD(2, handle);
EXPECT_EQ((KernelHandle*)NULL, proxy->AcquireHandle(0));
EXPECT_EQ((KernelHandle*)NULL, proxy->AcquireHandle(1));
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/path.cc ('k') | native_client_sdk/src/libraries/nacl_io_test/mount_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698