Skip to content

Commit 01056c7

Browse files
committed
Minor Fix
1 parent bc6c027 commit 01056c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tutorial-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public class BinarySearch {
137137
}`,
138138
checks: [
139139
{
140-
pattern: "@Refinement\\s*\\(\\s*\"_\\s*>=\\s*low\\s*&&\\s*_\\s*<=\\s*high\"\\s*\\)\\s*public\\s+static\\s+int\\s+midpoint",
140+
pattern: "@Refinement\\s*\\(\\s*\"(?:_\\s*>=\\s*low|low\\s*<=\\s*_)\\s*&&\\s*_\\s*<=\\s*high\"\\s*\\)\\s*public\\s+static\\s+int\\s+midpoint",
141141
message: "Refine the return value so it stays between low and high.",
142142
},
143143
{

0 commit comments

Comments
 (0)