Skip to content

Commit 034a050

Browse files
committed
fix: unit test
1 parent 2c801a7 commit 034a050

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/cue/cmd/testdata/script/modpublish_no_major_suffix.txtar

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ exec cue mod publish v0.0.1
1414

1515
# The inferred version is v0. Using any other major version will fail.
1616
! exec cue mod publish v1.0.0
17-
stderr 'publish version "v1.0.0" does not match implied major version "v0" in ".*module.cue"; must be v0.N.N'
17+
stderr 'publish version "v1.0.0" does not match the major version "v0" declared in ".*module.cue"; must be v0.N.N'
1818
! exec cue mod publish v2.0.0
19-
stderr 'publish version "v2.0.0" does not match implied major version "v0" in ".*module.cue"; must be v0.N.N'
19+
stderr 'publish version "v2.0.0" does not match the major version "v0" declared in ".*module.cue"; must be v0.N.N'
2020

2121
# `cue mod fix` will not add add a major version suffix when missing.
2222
exec cue mod fix

0 commit comments

Comments
 (0)