summaryrefslogtreecommitdiff
path: root/boil/tests
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-25 14:39:23 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-25 14:39:23 -0600
commitb57826f1ccb9dac17beb8ff4f4f53a11591d1e15 (patch)
tree61c0a9b2b6e273b56675745bb3962976b5850971 /boil/tests
parent63270d092073ec2bed15151315d005a0b8858073 (diff)
Use variables to reference array indices, observe more passing tests
Diffstat (limited to 'boil/tests')
-rw-r--r--boil/tests/ex47.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/boil/tests/ex47.java b/boil/tests/ex47.java
index b8d4b3a..ea4e342 100644
--- a/boil/tests/ex47.java
+++ b/boil/tests/ex47.java
@@ -19,6 +19,6 @@ class A {
}
public int get() {
- return x.length ;
+ return x[5] ;
}
}