8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20d3a9 commit fb40f77Copy full SHA for fb40f77
src/test/java/com/amazonaws/encryptionsdk/internal/FrameEncryptionHandlerTest.java
@@ -165,7 +165,7 @@ public void testStreamTruncation() throws Exception {
165
int startOffset = 100; // The data will start from this offset
166
byte[] inputDataWithOffset = new byte[10_000];
167
// the length of the actual data
168
- int dataLength = dataLength;
+ int dataLength = inputDataWithOffset.length - startOffset;
169
// copy some data, starting at the startOffset
170
// so the first |startOffset| bytes are 0s
171
System.arraycopy(
0 commit comments