stacked test internal

This commit is contained in:
Henry Schimke
2022-12-16 16:52:08 -06:00
parent 59366fd5a7
commit 0fbd3baef9
8 changed files with 128 additions and 116 deletions

View File

@@ -63,6 +63,11 @@ impl ExpandedPair {
&self.finderPattern
}
#[cfg(test)]
pub(crate) fn getFinderPatternMut(&mut self) -> &mut Option<FinderPattern> {
&mut self.finderPattern
}
pub fn mustBeLast(&self) -> bool {
self.rightChar.is_none()
}