From eb90501fd10079f4311ca187e04ffa32c88f1fe2 Mon Sep 17 00:00:00 2001 From: sophia Date: Mon, 16 Aug 2021 15:29:27 -0500 Subject: [PATCH] Make test for project more basic --- internal/core/project_test.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/internal/core/project_test.go b/internal/core/project_test.go index 1e4fc34fb..54301f8e5 100644 --- a/internal/core/project_test.go +++ b/internal/core/project_test.go @@ -6,11 +6,8 @@ import ( func TestNewProject(t *testing.T) { tp := TestProject(t) - vn, err := tp.VagrantfileName() - if err != nil { - t.Errorf("there was an error") - } - if vn != "VagrantFile" { - t.Errorf("idfk") + vn := tp.Ref() + if vn == nil { + t.Errorf("Creating project failed") } }