@@ -203,10 +203,10 @@ def testLockfileErrorMode(self):
203
203
self .AssertExitCode (exit_code , 48 , stderr )
204
204
self .assertIn (
205
205
(
206
- 'ERROR: Error computing the main repository mapping: Lock file is '
207
- ' no longer up-to-date because: the root MODULE.bazel has been '
208
- ' modified, the value of --check_direct_dependencies flag has '
209
- ' been modified. Please run'
206
+ 'ERROR: Error computing the main repository mapping:'
207
+ ' MODULE.bazel.lock is no longer up-to-date because: the root'
208
+ ' MODULE.bazel has been modified, the value of'
209
+ ' --check_direct_dependencies flag has been modified. Please run'
210
210
' `bazel mod deps --lockfile_mode=update` to update your lockfile.'
211
211
),
212
212
stderr ,
@@ -248,10 +248,11 @@ def testLocalOverrideWithErrorMode(self):
248
248
self .AssertExitCode (exit_code , 48 , stderr )
249
249
self .assertIn (
250
250
(
251
- 'ERROR: Error computing the main repository mapping: Lock file is'
252
- ' no longer up-to-date because: The MODULE.bazel file has changed'
253
- ' for the overriden module: bar. Please run'
254
- ' `bazel mod deps --lockfile_mode=update` to update your lockfile.'
251
+ 'ERROR: Error computing the main repository mapping:'
252
+ ' MODULE.bazel.lock is no longer up-to-date because: The'
253
+ ' MODULE.bazel file has changed for the overriden module: bar.'
254
+ ' Please run `bazel mod deps --lockfile_mode=update` to update your'
255
+ ' lockfile.'
255
256
),
256
257
stderr ,
257
258
)
@@ -575,7 +576,7 @@ def testUpdateModuleExtensionErrorMode(self):
575
576
self .AssertExitCode (exit_code , 48 , stderr )
576
577
self .assertIn (
577
578
(
578
- 'ERROR: Lock file is no longer up-to-date because: The '
579
+ 'ERROR: MODULE.bazel.lock is no longer up-to-date because: The '
579
580
'implementation of the extension '
580
581
"'ModuleExtensionId{bzlFileLabel=//:extension.bzl, "
581
582
"extensionName=lockfile_ext, isolationKey=Optional.empty}' or one "
@@ -762,8 +763,8 @@ def testChangeEnvVariableInErrorMode(self):
762
763
self .AssertExitCode (exit_code , 48 , stderr )
763
764
self .assertIn (
764
765
(
765
- 'ERROR: Lock file is no longer up-to-date because: The environment '
766
- ' variables the extension'
766
+ 'ERROR: MODULE.bazel.lock is no longer up-to-date because: The'
767
+ ' environment variables the extension'
767
768
" 'ModuleExtensionId{bzlFileLabel=//:extension.bzl,"
768
769
" extensionName=lockfile_ext, isolationKey=Optional.empty}' depends"
769
770
' on (or their values) have changed. Please run'
@@ -842,9 +843,9 @@ def testOldVersion(self):
842
843
self .AssertExitCode (exit_code , 48 , stderr )
843
844
self .assertIn (
844
845
(
845
- 'ERROR: Error computing the main repository mapping: Lock file is '
846
- ' no longer up-to-date because: the version of the lockfile is not '
847
- ' compatible with the current Bazel. Please run'
846
+ 'ERROR: Error computing the main repository mapping:'
847
+ ' MODULE.bazel.lock is no longer up-to-date because: the version of'
848
+ ' the lockfile is not compatible with the current Bazel. Please run'
848
849
' `bazel mod deps --lockfile_mode=update` to update your lockfile.'
849
850
),
850
851
stderr ,
0 commit comments