From 4c2537017ff0af4e89a6ffedc5eb1ea06623d3b2 Mon Sep 17 00:00:00 2001 From: Slavomir Date: Wed, 9 Sep 2020 16:40:59 +0200 Subject: [PATCH] Fix TaintStep.expected: add params to json.MarshalIndent --- .../semmle/go/frameworks/TaintSteps/TaintStep.expected | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ql/test/library-tests/semmle/go/frameworks/TaintSteps/TaintStep.expected b/ql/test/library-tests/semmle/go/frameworks/TaintSteps/TaintStep.expected index 004f888c69e..5c31cb9a277 100644 --- a/ql/test/library-tests/semmle/go/frameworks/TaintSteps/TaintStep.expected +++ b/ql/test/library-tests/semmle/go/frameworks/TaintSteps/TaintStep.expected @@ -75,6 +75,8 @@ | main.go:13:14:13:52 | call to MarshalIndent | main.go:13:2:13:52 | ... := ...[0] | | main.go:13:14:13:52 | call to MarshalIndent | main.go:13:2:13:52 | ... := ...[1] | | main.go:13:33:13:33 | v | main.go:13:2:13:52 | ... := ...[0] | +| main.go:13:36:13:45 | "/*JSON*/" | main.go:13:2:13:52 | ... := ...[0] | +| main.go:13:48:13:51 | " " | main.go:13:2:13:52 | ... := ...[0] | | main.go:14:25:14:25 | b | main.go:14:9:14:41 | slice literal | | main.go:14:28:14:30 | err | main.go:14:9:14:41 | slice literal | | main.go:14:33:14:34 | b2 | main.go:14:9:14:41 | slice literal |