source format in test

This commit is contained in:
Jörg Prante 2023-10-02 10:11:37 +02:00
parent 36bfe25796
commit afec455270

View file

@ -713,25 +713,33 @@ public class TestInterpolator {
public String getForPrefixed(String captured) {
Value val = map.get(captured);
if (hasForAny(val)) return val.getForAny();
if (hasForAny(val)) {
return val.getForAny();
}
return val != null ? val.getForPrefixed() : null;
}
public String getForBraceEnclosed(String captured) {
Value val = map.get(captured);
if (hasForAny(val)) return val.getForAny();
if (hasForAny(val)) {
return val.getForAny();
}
return val != null ? val.getForBraceEnclosed() : null;
}
public String getForBracketEnclosed(String captured) {
Value val = map.get(captured);
if (hasForAny(val)) return val.getForAny();
if (hasForAny(val)) {
return val.getForAny();
}
return val != null ? val.getForBracketEnclosed() : null;
}
public String getForPrefixedBracketEnclosed(String captured) {
Value val = map.get(captured);
if (hasForAny(val)) return val.getForAny();
if (hasForAny(val)) {
return val.getForAny();
}
return val != null ? val.getForPrefixedBracketEnclosed() : null;
}