diff options
author | Leon Scroggins III <scroggo@google.com> | 2019-01-08 09:06:54 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2019-01-08 09:20:07 -0500 |
commit | f50e8d4bc0556d450699390c78962c2cc6604288 (patch) | |
tree | 94d34ebd6eda74f3f44cf1f5543d6f9ec38217ed /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | a068624dce06a9948bcef377ac417394def31a4d (diff) |
Fix a typo in ColorSpace.get
Test: I1759437bf620868706be0aadce2250ac9194ca7d
The intent is that an index that does not match a Named ColorSpace will
throw an IllegalArgumentException, so make that true for
Named.values().length, which does not correspond to one.
Also, update the Exception message to make it clear that the last index
is exclusive.
Change-Id: I015b7ee6274873cc329653473ead04b08f1cd55f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions