[TEST] Rest API: cat.count regexp matchers now explicitely test for newline
This commit is contained in:
parent
e3b3b6c055
commit
a848b658e8
|
@ -19,7 +19,7 @@
|
|||
- match:
|
||||
$body: |
|
||||
/# epoch timestamp count
|
||||
^ \d+ \s \d{2}:\d{2}:\d{2} \s 0 \s $/
|
||||
^ \d+ \s \d{2}:\d{2}:\d{2} \s 0 \s+ \n $/
|
||||
|
||||
- do:
|
||||
index:
|
||||
|
@ -35,7 +35,7 @@
|
|||
- match:
|
||||
$body: |
|
||||
/# epoch timestamp count
|
||||
^ \d+ \s \d{2}:\d{2}:\d{2} \s 1 \s $/
|
||||
^ \d+ \s \d{2}:\d{2}:\d{2} \s 1 \s+ \n $/
|
||||
|
||||
- do:
|
||||
index:
|
||||
|
@ -52,7 +52,7 @@
|
|||
- match:
|
||||
$body: |
|
||||
/# count
|
||||
^ 2 \s $/
|
||||
^ 2 \s+ \n $/
|
||||
|
||||
|
||||
- do:
|
||||
|
@ -62,7 +62,7 @@
|
|||
- match:
|
||||
$body: |
|
||||
/# epoch timestamp count
|
||||
^ \d+ \s \d{2}:\d{2}:\d{2} \s 1 \s $/
|
||||
^ \d+ \s \d{2}:\d{2}:\d{2} \s 1 \s+ \n $/
|
||||
|
||||
- do:
|
||||
cat.count:
|
||||
|
|
Loading…
Reference in New Issue