Commit a87b27c7 by Sven Klemm

check for correct quoting of multiple singlequotes

parent 70daa56a
......@@ -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'");
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment