Skip to content

Commit

Permalink
Fix error in PrependList
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusmelke committed May 27, 2018
1 parent 7e8002c commit b1106e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -614,7 +614,7 @@ public AnyValue value( int offset )
}
else if ( offset < size + prepended.length )
{
return base.value( offset - size );
return base.value( offset - prepended.length );
}
else
{
Expand Down
Expand Up @@ -80,7 +80,7 @@ public void shouldAppendToListWithDroppedNull()
}

@Test
public void shouldPrependoList()
public void shouldPrependToList()
{
// Given
ListValue inner = list( longValue( 5L ), longValue( 6L ), longValue( 7L ),
Expand Down

0 comments on commit b1106e1

Please sign in to comment.