From 3dd7d407183c5d0e574d96d7f46a2290e983976b Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 5 Mar 2019 22:18:42 -0800 Subject: [PATCH] fix comments --- public/app/features/dashboard/dashgrid/PanelChrome.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/dashgrid/PanelChrome.test.tsx b/public/app/features/dashboard/dashgrid/PanelChrome.test.tsx index d6242b9db22..7136a14a907 100644 --- a/public/app/features/dashboard/dashgrid/PanelChrome.test.tsx +++ b/public/app/features/dashboard/dashgrid/PanelChrome.test.tsx @@ -27,7 +27,7 @@ describe('PanelChrome', () => { expect(out).toBe('hello AAA'); }); - it('It should prefer the diret variables', () => { + it('But it should prefer the local variable value', () => { const extra = { aaa: { text: '???', value: 'XXX' } }; const out = chrome.replaceVariables('hello $aaa and $bbb', extra); expect(out).toBe('hello XXX and BBB');