Skip to content

Commit c8cf2c5

Browse files
authored
Merge pull request #5 from Rufus125/master
Add test for new operator VerifySVNR
2 parents 7556114 + be0cee4 commit c8cf2c5

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.log
2+
*.trs

operators/verifysvnr.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"param" : "([0-9]{4} ?[0-9]{6})",
4+
"input" : "1237010180",
5+
"ret" : 1,
6+
"type" : "op",
7+
"name" : "verifysvnr"
8+
},
9+
{
10+
"param" : "([0-9]{4} ?[0-9]{6})",
11+
"input" : "asdf 1237 010180 asdf",
12+
"ret" : 1,
13+
"type" : "op",
14+
"name" : "verifysvnr"
15+
},
16+
{
17+
"param" : "([0-9]{4} ?[0-9]{6})",
18+
"input" : "asdf 0100817 asdf",
19+
"ret" : 0,
20+
"type" : "op",
21+
"name" : "verifysvnr"
22+
}
23+
24+
25+
26+
]

0 commit comments

Comments
 (0)