From ce0b2ade9c945a243735b385e3c10e2990b24bf5 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Mon, 25 Aug 2014 16:13:16 +0200 Subject: [PATCH] Test: Fixed the regex in cat.indices/10_basic.yaml And renamed the file from .yml to .yaml --- .../test/cat.indices/{10_basic.yml => 10_basic.yaml} | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) rename rest-api-spec/test/cat.indices/{10_basic.yml => 10_basic.yaml} (56%) diff --git a/rest-api-spec/test/cat.indices/10_basic.yml b/rest-api-spec/test/cat.indices/10_basic.yaml similarity index 56% rename from rest-api-spec/test/cat.indices/10_basic.yml rename to rest-api-spec/test/cat.indices/10_basic.yaml index b3025a25ace..61d60fa7b24 100644 --- a/rest-api-spec/test/cat.indices/10_basic.yml +++ b/rest-api-spec/test/cat.indices/10_basic.yaml @@ -23,4 +23,13 @@ - match: $body: | - /^(green \s+ index1 \s+ 1 \s+ 0 \s+ 0 \s+ 0 \s+ (\d+|\d+[.]\d+)(kb|b) \s+ (\d+|\d+[.]\d+)(kb|b))$/ + /^(green \s+ + index1 \s+ + 1 \s+ + 0 \s+ + 0 \s+ + 0 \s+ + (\d+|\d+[.]\d+)(kb|b) \s+ + (\d+|\d+[.]\d+)(kb|b) \s* + ) + $/