Skip to content

Commit 626d03f

Browse files
committed
Remove full-stop in view message, update tests
1 parent 4ad9f59 commit 626d03f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

internal/command/init_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func TestInit_two_step_provider_download(t *testing.T) {
156156
- Installed hashicorp/random v1.0.0`,
157157
// State
158158
`Initializing provider plugins found in the state...
159-
- Reusing previous version of hashicorp/random.
159+
- Reusing previous version of hashicorp/random
160160
- Using previously-installed hashicorp/random v1.0.0`,
161161
},
162162
},
@@ -170,7 +170,7 @@ func TestInit_two_step_provider_download(t *testing.T) {
170170
- Installed hashicorp/random v1.0.0`,
171171
// State
172172
`Initializing provider plugins found in the state...
173-
- Reusing previous version of hashicorp/random.
173+
- Reusing previous version of hashicorp/random
174174
- Using previously-installed hashicorp/random v1.0.0`,
175175
},
176176
},
@@ -185,7 +185,7 @@ func TestInit_two_step_provider_download(t *testing.T) {
185185
- Installed hashicorp/random v1.0.0`,
186186
// State - reuses the provider download from the config
187187
`Initializing provider plugins found in the state...
188-
- Reusing previous version of hashicorp/random.
188+
- Reusing previous version of hashicorp/random
189189
- Using previously-installed hashicorp/random v1.0.0`,
190190
},
191191
},

internal/command/views/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ var MessageRegistry map[InitMessageCode]InitMessage = map[InitMessageCode]InitMe
227227
JSONValue: "%s: Reusing previous version from the dependency lock file",
228228
},
229229
"reusing_version_during_state_provider_init": {
230-
HumanValue: "- Reusing previous version of %s.",
231-
JSONValue: "%s: Reusing previous version of %s.",
230+
HumanValue: "- Reusing previous version of %s",
231+
JSONValue: "%s: Reusing previous version of %s",
232232
},
233233
"finding_matching_version_message": {
234234
HumanValue: "- Finding %s versions matching %q...",

0 commit comments

Comments
 (0)