Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68ed7aa9 authored by Jean Chalard's avatar Jean Chalard
Browse files

Fix a test

The test is wrong - it checks a struct that contains a string
instead of checking the string itself.

Bug: 8149360
Change-Id: Ifb93d61f25a64a64e1c1e689de792f27994487b6
parent afe889a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -246,7 +246,7 @@ public class BinaryDictIOUtilsTests extends AndroidTestCase {
                    inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, 0, file.length()));
            final FileHeader header = BinaryDictInputOutput.readHeader(buffer);
            assertEquals(word, BinaryDictInputOutput.getWordAtAddress(buffer, header.mHeaderSize,
                    position - header.mHeaderSize, header.mFormatOptions));
                    position - header.mHeaderSize, header.mFormatOptions).mWord);
        } catch (IOException e) {
        } catch (UnsupportedFormatException e) {
        } finally {