summaryrefslogtreecommitdiffstats
path: root/app/command_code_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/command_code_test.go')
-rw-r--r--app/command_code_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_code_test.go b/app/command_code_test.go
index e9d677a50..89699ab3f 100644
--- a/app/command_code_test.go
+++ b/app/command_code_test.go
@@ -18,7 +18,7 @@ func TestCodeProviderDoCommand(t *testing.T) {
"foo\nbar": " foo\n bar",
"foo\nbar\n": " foo\n bar\n ",
} {
- actual := cp.DoCommand(args, msg).Text
+ actual := cp.DoCommand(nil, args, msg).Text
if actual != expected {
t.Errorf("expected `%v`, got `%v`", expected, actual)
}