Skip to content

Commit 57ac842

Browse files
committed
Fix issue in unit test for #121
1 parent 03e7360 commit 57ac842

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

metafix/src/test/java/org/metafacture/metafix/MetafixRecordTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,6 @@ private void assertThrowsOnEmptyRecord(final String index) {
11271127
}
11281128

11291129
@Test
1130-
@MetafixToDo("See https://github.com/metafacture/metafacture-fix/issues/121")
11311130
public void shouldAddArraySubFieldWithAsterisk() {
11321131
MetafixTestHelpers.assertFix(streamReceiver, Arrays.asList(
11331132
"add_field('coll[].*.c', 'test')"
@@ -1172,7 +1171,7 @@ public void shouldAddArraySubFieldWithAsterisk() {
11721171
o.get().startEntity("4");
11731172
o.get().literal("a", "Crocodile");
11741173
o.get().literal("c", "test");
1175-
f.apply(3).endEntity();
1174+
f.apply(2).endEntity();
11761175
o.get().endRecord();
11771176
}
11781177
);

0 commit comments

Comments
 (0)