[TEST] Made cat.count REST test more readable

This commit is contained in:
Luca Cavanna 2014-02-10 16:07:54 +01:00
parent 1161e0f6f1
commit f996b04a9f
1 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,8 @@ setup:
- match:
$body: >
/^ \d+ \s \d{2}:\d{2}:\d{2} \s 0 \s $/
/# epoch timestamp count
^ \d+ \s \d{2}:\d{2}:\d{2} \s 0 \s $/
- do:
index:
@ -38,7 +39,8 @@ setup:
- match:
$body: >
/^ \d+ \s \d{2}:\d{2}:\d{2} \s 1 \s $/
/# epoch timestamp count
^ \d+ \s \d{2}:\d{2}:\d{2} \s 1 \s $/
- do:
index:
@ -54,7 +56,8 @@ setup:
- match:
$body: >
/^ 2 \s $/
/# count
^ 2 \s $/
- do:
@ -63,7 +66,8 @@ setup:
- match:
$body: >
/^ \d+ \s \d{2}:\d{2}:\d{2} \s 1 \s $/
/# epoch timestamp count
^ \d+ \s \d{2}:\d{2}:\d{2} \s 1 \s $/
- do:
cat.count: