fix(templating): fixed unique filter after regex pass, fixes #6086

This commit is contained in:
Torkel Ödegaard
2016-09-21 15:30:11 +02:00
parent b4111d78e1
commit 9e26a4cfcb
2 changed files with 3 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ describe('VariableSrv', function() {
describeUpdateVariable('regex pattern remove duplicates', function(scenario) {
scenario.setup(function() {
scenario.variableModel = {type: 'query', query: 'apps.*', name: 'test'};
scenario.variableModel.regex = 'backend_01';
scenario.variableModel.regex = '/backend_01/';
scenario.queryResult = [{text: 'apps.backend.backend_01.counters.req'}, {text: 'apps.backend.backend_01.counters.req'}];
});