mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
check for correct quoting of multiple singlequotes
This commit is contained in:
parent
70daa56a31
commit
a87b27c7d3
@ -230,6 +230,7 @@ describe('PostgreSQLDatasource', function() {
|
||||
it('should return a quoted value', () => {
|
||||
ctx.variable.multi = true;
|
||||
expect(ctx.ds.interpolateVariable("a'bc", ctx.variable)).toEqual("'a''bc'");
|
||||
expect(ctx.ds.interpolateVariable("a'b'c", ctx.variable)).toEqual("'a''b''c'");
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user