Explorar el Código

fixed test result

Benjamin Schweizer hace 7 años
padre
commit
7da9c33ae4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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() {