Skip to content

Commit eef354a

Browse files
committed
fix failing test - i believe this is now testing the expected behavior
1 parent 61ef545 commit eef354a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/src/edu/stanford/nlp/trees/QPTreeTransformerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public void testCompoundModifiers() {
3131
String output = "(ROOT (S (NP (NP (DT a) (NN stake)) (PP (IN of) (NP (QP (XS (RB just) (IN under)) (CD 30)) (NN %))))))";
3232
runTest(input, output);
3333
// "up" should be RB but make sure it also files for RP
34-
String input2 = "(ROOT (S (NP (NP (DT a) (NN stake)) (PP (IN of) (NP (QP (RP up) (IN t0) (CD 30)) (NN million))))))";
35-
String output2 = "(ROOT (S (NP (NP (DT a) (NN stake)) (PP (IN of) (NP (QP (XS (RP up) (IN to)) (CD 30)) (NN %))))))";
34+
String input2 = "(ROOT (S (NP (NP (DT a) (NN stake)) (PP (IN of) (NP (QP (RP up) (IN to) (CD 30)) (NN million))))))";
35+
String output2 = "(ROOT (S (NP (NP (DT a) (NN stake)) (PP (IN of) (NP (QP (XSL (RP up) (IN to)) (CD 30)) (NN million))))))";
3636
runTest(input2, output2);
3737
}
3838

0 commit comments

Comments
 (0)