File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11package provider_test
22
33import (
4+ "fmt"
45 "regexp"
56 "testing"
67
@@ -157,7 +158,7 @@ func TestWorkspacePreset(t *testing.T) {
157158 cache_invalidation {}
158159 }
159160 }` ,
160- ExpectError : regexp .MustCompile ("The argument \" invalidate_after_secs\" is required, but no definition was found. " ),
161+ ExpectError : regexp .MustCompile ("The argument \" invalidate_after_secs\" is required," ),
161162 },
162163 {
163164 Name : "Prebuilds is set with a cache_invalidation field with its required fields" ,
@@ -210,6 +211,7 @@ func TestWorkspacePreset(t *testing.T) {
210211 t .Run (testcase .Name , func (t * testing.T ) {
211212 t .Parallel ()
212213
214+ fmt .Println ("testcase.ExpectError: " , testcase .ExpectError )
213215 resource .Test (t , resource.TestCase {
214216 ProviderFactories : coderFactory (),
215217 IsUnitTest : true ,
You can’t perform that action at this time.
0 commit comments