File tree Expand file tree Collapse file tree
modules/database/test/ioc/db Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Minimal test for post-arithmetic: <number>~(+N) / <number>~(-N)
2+ # Run example:
3+ # msi -M"P=ArithTest,TESTNUM=99" msiArithTest.template
4+
5+ record(stringin, "$(P):orig") {
6+ field(VAL, "$(TESTNUM)")
7+ field(DESC, "orig: $(TESTNUM)")
8+ }
9+
10+ record(stringin, "$(P):plus1") {
11+ field(VAL, "$(TESTNUM)~(+1)")
12+ field(DESC, "plus1: $(TESTNUM)~(+1)")
13+ }
14+
15+ record(stringin, "$(P):minus1") {
16+ field(VAL, "$(TESTNUM)~(-1)")
17+ field(DESC, "minus1: $(TESTNUM)~(-1)")
18+ }
19+
20+ # Should NOT change if your parser requires "touching" syntax (no spaces):
21+ record(stringin, "$(P):spaces_should_stay") {
22+ field(VAL, "$(TESTNUM) ~ (+1)")
23+ field(DESC, "spaces: $(TESTNUM) ~ (+1)")
24+ }
25+
26+ # Should NOT change (single quotes) - just a comment line to test ignore:
27+ # '99~(+1)' '99~(-1)'
You can’t perform that action at this time.
0 commit comments