In text, betterer grammer usings.

pull/7871/head
Jussi Pakkanen 4 years ago
parent ac6041e110
commit 64f8479097
  1. 2
      mesonbuild/wrap/wrap.py
  2. 2
      run_unittests.py
  3. 2
      test cases/failing/33 non-root subproject/test.json
  4. 2
      test cases/failing/78 subproj dependency not-found and required/test.json

@ -264,7 +264,7 @@ class Resolver:
self.directory = packagename
self.wrap = self.wraps.get(packagename)
if not self.wrap:
m = 'Subproject directory not found and {}.wrap file not found'
m = 'Neither a subproject directory nor a {}.wrap file was found.'
raise WrapNotFoundException(m.format(self.packagename))
self.directory = self.wrap.directory

@ -5459,7 +5459,7 @@ class FailureTests(BasePlatformTests):
'''
tdir = os.path.join(self.unit_test_dir, '20 subproj dep variables')
out = self.init(tdir, inprocess=True)
self.assertRegex(out, r"Subproject directory not found and .*nosubproj.wrap.* file not found")
self.assertRegex(out, r"Neither a subproject directory nor a .*nosubproj.wrap.* file was found")
self.assertRegex(out, r'Function does not take positional arguments.')
self.assertRegex(out, r'Dependency .*somenotfounddep.* from subproject .*subprojects/somesubproj.* found: .*NO.*')
self.assertRegex(out, r'Dependency .*zlibproxy.* from subproject .*subprojects.*somesubproj.* found: .*YES.*')

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/33 non-root subproject/some/meson.build:1:0: ERROR: Subproject directory not found and someproj.wrap file not found"
"line": "test cases/failing/33 non-root subproject/some/meson.build:1:0: ERROR: Neither a subproject directory nor a someproj.wrap file was found."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/78 subproj dependency not-found and required/meson.build:2:0: ERROR: Subproject directory not found and missing.wrap file not found"
"line": "test cases/failing/78 subproj dependency not-found and required/meson.build:2:0: ERROR: Neither a subproject directory nor a missing.wrap file was found."
}
]
}

Loading…
Cancel
Save