Browse Source

Trade: explanatory message in a test.

pull/403/head
Vladimír Vondruš 7 years ago
parent
commit
44458f5b37
  1. 3
      src/Magnum/Trade/Test/ImageDataTest.cpp

3
src/Magnum/Trade/Test/ImageDataTest.cpp

@ -712,6 +712,9 @@ void ImageDataTest::pixelsCompressed() {
Error redirectError{&out};
a.pixels();
/* a.pixels<T>() calls non-templated pixels(), so assume there it will
blow up correctly as well (can't test because it asserts inside
arrayCast() due to zero stride) */
CORRADE_COMPARE(out.str(), "Trade::ImageData::pixels(): the image is compressed\n");
}

Loading…
Cancel
Save