浏览代码

fixed testcase

Benjamin Schweizer 7 年之前
父节点
当前提交
f4b29b5782
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/features/templating/specs/template_srv.test.ts

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

@@ -276,7 +276,7 @@ describe('templateSrv', function() {
     });
 
     it('multi value and percentencode format should render percent-encoded string', function() {
-      var result = _templateSrv.formatValue(['foo()bar BAZ', 'test2'], 'percentencode');
+      const result = _templateSrv.formatValue(['foo()bar BAZ', 'test2'], 'percentencode');
       expect(result).toBe('%7bfoo%28%29bar%20BAZ%2ctest2%7d');
     });