Browse Source

fixed test result

Benjamin Schweizer 7 years ago
parent
commit
7da9c33ae4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/templating/specs/template_srv.jest.ts

+ 1 - 1
public/app/features/templating/specs/template_srv.jest.ts

@@ -277,7 +277,7 @@ describe('templateSrv', function() {
 
     it('multi value and urlescape format should render url-escaped string', function() {
       var result = _templateSrv.formatValue(['foo()bar baz', 'test2'], 'urlescape');
-      expect(result).toBe('foo%28%29bar%20baz%2Ctest2');
+      expect(result).toBe('%7Bfoo%28%29bar%20baz%2Ctest2%7D');
     });
 
     it('slash should be properly escaped in regex format', function() {