Skip to content

Commit ea1314f

Browse files
committed
bump go-vcr.v4 + move matching logic to the sdk-go
1 parent 4a145b2 commit ea1314f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

internal/acctest/acctest.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ import (
66
"encoding/xml"
77
"flag"
88
"net/http"
9+
"flag"
10+
"net/http"
911
"os"
12+
"strconv"
1013
"strings"
1114
"testing"
1215
"time"
@@ -27,7 +30,7 @@ import (
2730
)
2831

2932
// UpdateCassettes will update all cassettes of a given test
30-
var UpdateCassettes = flag.Bool("cassettes", os.Getenv("TF_UPDATE_CASSETTES") == "true", "Record Cassettes")
33+
var UpdateCassettes = flag.Bool("cassettes", os.Getenv(env.UpdateCassettes) == "true", "Record Cassettes")
3134

3235
func PreCheck(_ *testing.T) {}
3336

0 commit comments

Comments
 (0)