Index: base/scoped_native_library_unittest.cc |
diff --git a/base/scoped_native_library_unittest.cc b/base/scoped_native_library_unittest.cc |
index 035faa03f741119029ecafc278a979b30d6e53d3..c7e44892d06e63780d2dab1b1b7d8e1cc140108d 100644 |
--- a/base/scoped_native_library_unittest.cc |
+++ b/base/scoped_native_library_unittest.cc |
@@ -28,6 +28,8 @@ TEST(ScopedNativeLibrary, Basic) { |
FilePath path(GetNativeLibraryName(L"ddraw")); |
native_library = LoadNativeLibrary(path, NULL); |
ScopedNativeLibrary library(native_library); |
+ EXPECT_TRUE(library.is_valid()); |
+ EXPECT_EQ(native_library, library.get()); |
FARPROC test_function = |
reinterpret_cast<FARPROC>(library.GetFunctionPointer(kFunctionName)); |
EXPECT_EQ(0, IsBadCodePtr(test_function)); |