Skip to content

Commit

Permalink
Use correct absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel committed Aug 26, 2024
1 parent 3e8c91f commit 9748bea
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/test/java/org/javarosa/xpath/expr/IndexedRepeatTest.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
package org.javarosa.xpath.expr;

import org.javarosa.test.Scenario;
import org.javarosa.xpath.XPathTypeMismatchException;
import org.junit.Test;

import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.instanceOf;
import static org.hamcrest.CoreMatchers.is;
import static org.javarosa.core.test.AnswerDataMatchers.stringAnswer;
import static org.javarosa.test.BindBuilderXFormsElement.bind;
import static org.javarosa.test.XFormsElement.body;
Expand All @@ -17,10 +21,6 @@
import static org.javarosa.test.XFormsElement.title;
import static org.junit.Assert.fail;

import org.javarosa.test.Scenario;
import org.javarosa.xpath.XPathTypeMismatchException;
import org.junit.Test;

public class IndexedRepeatTest {
@Test
public void firstArgNotChildOfRepeat_throwsException() throws Exception {
Expand All @@ -35,7 +35,7 @@ public void firstArgNotChildOfRepeat_throwsException() throws Exception {
t("inside")),
t("calc")
)),
bind("calc").calculate("indexed-repeat(/data/outside, /data/repeat, 1)")
bind("/data/calc").calculate("indexed-repeat(/data/outside, /data/repeat, 1)")
)
),
body(
Expand Down Expand Up @@ -113,7 +113,7 @@ public void getsIndexedValueUsingParallelRepeatPosition() throws Exception {
input("/data/repeat1/inside1")),

repeat("/data/repeat2",
input("/data/repeat2"))
input("/data/repeat2/inside2"))
))
);

Expand Down

0 comments on commit 9748bea

Please sign in to comment.