From cba67af55cd46fb8127c050aa5e2377a4c8f901b Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Wed, 18 Jul 2018 10:21:30 -0700 Subject: [PATCH] Specs for generic checklist working again --- {wtftests => checklisttests}/checklist_item_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename {wtftests => checklisttests}/checklist_item_test.go (80%) diff --git a/wtftests/checklist_item_test.go b/checklisttests/checklist_item_test.go similarity index 80% rename from wtftests/checklist_item_test.go rename to checklisttests/checklist_item_test.go index 799f4f55..8337dc04 100644 --- a/wtftests/checklist_item_test.go +++ b/checklisttests/checklist_item_test.go @@ -4,7 +4,8 @@ import ( "testing" "github.com/olebedev/config" - . "github.com/senorprogrammer/wtf/wtf" + . "github.com/senorprogrammer/wtf/checklist" + "github.com/senorprogrammer/wtf/wtf" . "github.com/stretchr/testify/assert" ) @@ -38,5 +39,5 @@ func TestToggle(t *testing.T) { /* -------------------- helpers -------------------- */ func loadConfig() { - Config, _ = config.ParseYamlFile("../_sample_configs/simple_config.yml") + wtf.Config, _ = config.ParseYamlFile("../_sample_configs/simple_config.yml") }