From e858ee72216a50d41494e5e3c4297da87f354013 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 26 Jun 2016 10:52:30 +0200 Subject: [PATCH] Fix test after API change --- configfile_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configfile_test.go b/configfile_test.go index d5c6c9e..43a3006 100644 --- a/configfile_test.go +++ b/configfile_test.go @@ -2,6 +2,7 @@ package main import ( "bytes" + "regexp" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" @@ -29,6 +30,7 @@ logdir: /var/log/duplicity/ var ( commandLine, env, argv []string + logFilter *regexp.Regexp loadErr, err error t string cf *configFile @@ -40,7 +42,7 @@ logdir: /var/log/duplicity/ if loadErr != nil { panic(loadErr) } - commandLine, env, err = cf.GenerateCommand(argv, t) + commandLine, env, logFilter, err = cf.GenerateCommand(argv, t) }) Context("Backup with given config", func() {