Index: tests/TestConfigParsing.cpp |
diff --git a/tests/TestConfigParsing.cpp b/tests/TestConfigParsing.cpp |
index 4d5ebf6390d660efab49bdea0957c316888d2b17..fb99c72624824ba25fe02b49ceb4482e9a9f695d 100644 |
--- a/tests/TestConfigParsing.cpp |
+++ b/tests/TestConfigParsing.cpp |
@@ -121,7 +121,7 @@ DEF_TEST(ParseConfigs_DefaultConfigs, reporter) { |
REPORTER_ASSERT(reporter, !configs[19]->asConfigGpu()); |
REPORTER_ASSERT(reporter, !configs[24]->asConfigGpu()); |
REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorType() == kRGBA_F16_SkColorType); |
- REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace() == nullptr); |
+ REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace() == srgbColorSpace.get()); |
REPORTER_ASSERT(reporter, configs[26]->asConfigGpu()->getColorType() == kN32_SkColorType); |
REPORTER_ASSERT(reporter, configs[26]->asConfigGpu()->getColorSpace() == srgbColorSpace.get()); |