[TEST] Rest API: cat.count regexp matchers now explicitely test for newline

This commit is contained in:
Spencer Alger 2014-07-29 22:20:11 -07:00
parent e3b3b6c055
commit a848b658e8
1 changed files with 4 additions and 4 deletions

View File

@ -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: