فهرست منبع

fixed test result

Benjamin Schweizer 7 سال پیش
والد
کامیت
7da9c33ae4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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() {