Skip to content

Commit b342a8a

Browse files
committed
bump go-vcr.v4 + move matching logic to the sdk-go
1 parent 7131d4e commit b342a8a

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"
@@ -24,7 +27,7 @@ import (
2427
)
2528

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

2932
func PreCheck(_ *testing.T) {}
3033

0 commit comments

Comments
 (0)