Commit 4df7021d for tesseract

commit 4df7021d98f5a3b19faa60063543e47fbbadab82
Author: Shree Devi Kumar <5095331+Shreeshrii@users.noreply.github.com>
Date:   Thu Jan 14 09:37:32 2021 +0000

    Remove unnecessary subtest with missing input image

diff --git a/unittest/baseapi_test.cc b/unittest/baseapi_test.cc
index 2dc5cbe1..285172e3 100644
--- a/unittest/baseapi_test.cc
+++ b/unittest/baseapi_test.cc
@@ -155,32 +155,6 @@ TEST_F(TesseractTest, HOCRContainsBaseline) {
   pixDestroy(&src_pix);
 }

-// A provided document we once misread "RICK SNYDER" as "FUCK SNYDER"
-// causing a bit of an embarrassment.  This was due to bad baseline fitting
-// which has been addressed by both better baseline finding and by
-// better algorithms to deal with baseline and xheight consistency.
-TEST_F(TesseractTest, RickSnyderNotFuckSnyder) {
-  tesseract::TessBaseAPI api;
-  if (api.Init(TessdataPath().c_str(), "eng", tesseract::OEM_TESSERACT_ONLY) == -1) {
-    // eng.traineddata not found.
-    GTEST_SKIP();
-    return;
-  }
-  api.Init(TessdataPath().c_str(), "eng", tesseract::OEM_TESSERACT_ONLY);
-#if 0 // TODO: rick_snyder.jpeg is missing
-  Pix* src_pix = pixRead(TestDataNameToPath("rick_snyder.jpeg").c_str());
-  CHECK(src_pix);
-  api.SetImage(src_pix);
-  char* result = api.GetHOCRText(0);
-  EXPECT_TRUE(result != nullptr);
-  EXPECT_THAT(result, Not(HasSubstr("FUCK")));
-  delete[] result;
-  pixDestroy(&src_pix);
-#else
-  GTEST_SKIP();
-#endif
-}
-
 // Tests that Tesseract gets exactly the right answer on some page numbers.
 TEST_F(TesseractTest, AdaptToWordStrTest) {
 #ifdef DISABLED_LEGACY_ENGINE