Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
terraform.17920
fix-error-string-matching-in-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-error-string-matching-in-test.patch of Package terraform.17920
From df1ac404fc9d9286c5437a94135940df68acdb5d Mon Sep 17 00:00:00 2001 From: James Bardin <j.bardin@gmail.com> Date: Wed, 23 Sep 2020 15:18:37 -0400 Subject: [PATCH] fix error string matching in test This package is no longer used, but we are retaining it for now for its help in protocol test coverage. --- helper/schema/provider_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/schema/provider_test.go b/helper/schema/provider_test.go index 01ee82a1f4d..1f9b5e8bf8e 100644 --- a/helper/schema/provider_test.go +++ b/helper/schema/provider_test.go @@ -341,7 +341,7 @@ func TestProviderDiff_timeoutInvalidValue(t *testing.T) { if err == nil { t.Fatal("Expected provider.Diff to fail with invalid timeout value") } - expectedErrMsg := "time: invalid duration invalid" + expectedErrMsg := `time: invalid duration "invalid"` if !strings.Contains(err.Error(), expectedErrMsg) { t.Fatalf("Unexpected error message: %q\nExpected message to contain %q", err.Error(),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor